Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
f6307dd0
Commit
f6307dd0
authored
May 29, 2013
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2002358
by jazzdrive3: Rename Views method alter_display_options() to alterDisplayOptions().
parent
34e099a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
...lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
+2
-2
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php
View file @
f6307dd0
...
...
@@ -635,7 +635,7 @@ protected function instantiate_view($form, &$form_state) {
// 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
_d
isplay
_o
ptions
(
$display_options
,
$form
,
$form_state
);
$this
->
alter
D
isplay
O
ptions
(
$display_options
,
$form
,
$form_state
);
$this
->
addDisplays
(
$view
,
$display_options
,
$form
,
$form_state
);
...
...
@@ -680,7 +680,7 @@ protected function build_display_options($form, $form_state) {
/**
* Alters the full array of display options before they are added to the view.
*/
protected
function
alter
_d
isplay
_o
ptions
(
&
$display_options
,
$form
,
$form_state
)
{
protected
function
alter
D
isplay
O
ptions
(
&
$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'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment