Commit e4c5f104 authored by alexpott's avatar alexpott

Issue #2001672 by TravisCarden: Rename Views method wizard_submit() to wizardSubmit().

parent 3af1e98e
......@@ -365,7 +365,7 @@ function wizard_form(&$form, &$form_state, $type) {
* @param string $display_type
* 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 @@ function even_empty() {
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
// always have a labels by unsetting the override.
foreach ($display_options['default']['fields'] as &$field) {
......
......@@ -684,7 +684,7 @@ protected function alter_display_options(&$display_options, $form, $form_state)
foreach ($display_options as $display_type => $options) {
// Allow style plugins to hook in and provide some settings.
$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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment