summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-05-28 01:31:16 (GMT)
committerAlex Pott2013-05-28 01:31:16 (GMT)
commite4c5f1049f35ded4feab44a2e90afa72f59bcf56 (patch)
tree8cbabea9ae29ec91bf4feccb286091da9430a836
parent3af1e98ec314e8c794ab65625cb4b39cfa41182b (diff)
Issue #2001672 by TravisCarden: Rename Views method wizard_submit() to wizardSubmit().
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php2
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php2
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
index 2fe7cfa..feef52d 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php
@@ -365,7 +365,7 @@ abstract class StylePluginBase extends PluginBase {
* @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) {
}
/**
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php
index fa868c7..3956202 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/Table.php
@@ -391,7 +391,7 @@ class Table extends StylePluginBase {
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) {
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
index 3945ae0..3e97df6 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
@@ -684,7 +684,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface {
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);
}
}