From f6307dd02a7f25a17434484d450632f625f78898 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 29 May 2013 14:15:22 +0100 Subject: [PATCH] Issue #2002358 by jazzdrive3: Rename Views method alter_display_options() to alterDisplayOptions(). --- .../lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1deea0f24f0..d085986df23 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 @@ -635,7 +635,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { // Allow the fully built options to be altered. This happens before adding // the options to the view, so that once they are eventually added we will // be able to get all the overrides correct. - $this->alter_display_options($display_options, $form, $form_state); + $this->alterDisplayOptions($display_options, $form, $form_state); $this->addDisplays($view, $display_options, $form, $form_state); @@ -680,7 +680,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { /** * Alters the full array of display options before they are added to the view. */ - protected function alter_display_options(&$display_options, $form, $form_state) { + protected function alterDisplayOptions(&$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']);