Commit dd87cbcf authored by alexpott's avatar alexpott
Browse files

Issue #2003274 by dbcollies: Rename Views method set_override_options() to setOverrideOptions().

parent 89f15d22
......@@ -713,7 +713,7 @@ protected function addDisplays(View $view, $display_options, $form, $form_state)
// Display: Feed (attached to the page).
if (isset($display_options['feed'])) {
$display = $view->newDisplay('feed', 'Feed', 'feed_1');
$this->set_override_options($display_options['feed'], $display, $default_display);
$this->setOverrideOptions($display_options['feed'], $display, $default_display);
......@@ -726,7 +726,7 @@ protected function addDisplays(View $view, $display_options, $form, $form_state)
$this->setDefaultOptions($display_options['block'], $display, $default_display);
else {
$this->set_override_options($display_options['block'], $display, $default_display);
$this->setOverrideOptions($display_options['block'], $display, $default_display);
......@@ -1091,7 +1091,7 @@ protected function setDefaultOptions($options, DisplayPluginBase $display, Displ
* @param Drupal\views\View\plugin\display\DisplayPluginBase $default_display
* The default display handler, which will store the options when possible.
protected function set_override_options(array $options, DisplayPluginBase $display, DisplayPluginBase $default_display) {
protected function setOverrideOptions(array $options, DisplayPluginBase $display, DisplayPluginBase $default_display) {
foreach ($options as $option => $value) {
// Only override the default value if it is different from the value that
// was provided.
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