Issue #2001672 by TravisCarden: Rename Views method wizard_submit() to wizardSubmit().
parent
3af1e98ec3
commit
e4c5f1049f
|
@ -365,7 +365,7 @@ abstract class StylePluginBase extends PluginBase {
|
||||||
* @param string $display_type
|
* @param string $display_type
|
||||||
* The display type, either block or page.
|
* The display type, either block or page.
|
||||||
*/
|
*/
|
||||||
function wizard_submit(&$form, &$form_state, WizardInterface $wizard, &$display_options, $display_type) {
|
public function wizardSubmit(&$form, &$form_state, WizardInterface $wizard, &$display_options, $display_type) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -391,7 +391,7 @@ class Table extends StylePluginBase {
|
||||||
return parent::even_empty() || !empty($this->options['empty_table']);
|
return parent::even_empty() || !empty($this->options['empty_table']);
|
||||||
}
|
}
|
||||||
|
|
||||||
function wizard_submit(&$form, &$form_state, WizardInterface $wizard, &$display_options, $display_type) {
|
public function wizardSubmit(&$form, &$form_state, WizardInterface $wizard, &$display_options, $display_type) {
|
||||||
// If any of the displays use the table style, take sure that the fields
|
// If any of the displays use the table style, take sure that the fields
|
||||||
// always have a labels by unsetting the override.
|
// always have a labels by unsetting the override.
|
||||||
foreach ($display_options['default']['fields'] as &$field) {
|
foreach ($display_options['default']['fields'] as &$field) {
|
||||||
|
|
|
@ -684,7 +684,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
|
||||||
foreach ($display_options as $display_type => $options) {
|
foreach ($display_options as $display_type => $options) {
|
||||||
// Allow style plugins to hook in and provide some settings.
|
// Allow style plugins to hook in and provide some settings.
|
||||||
$style_plugin = Views::pluginManager('style')->createInstance($options['style']['type']);
|
$style_plugin = Views::pluginManager('style')->createInstance($options['style']['type']);
|
||||||
$style_plugin->wizard_submit($form, $form_state, $this, $display_options, $display_type);
|
$style_plugin->wizardSubmit($form, $form_state, $this, $display_options, $display_type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue