Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
42858f6b
Commit
42858f6b
authored
Jun 10, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Convert display extenders to an array to be sure there is no notice.
parent
9481d3b5
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/plugins.inc
View file @
42858f6b
...
@@ -575,7 +575,7 @@ function plugin_title() {
...
@@ -575,7 +575,7 @@ function plugin_title() {
* Get enabled display extenders.
* Get enabled display extenders.
*/
*/
function
views_get_enabled_display_extenders
()
{
function
views_get_enabled_display_extenders
()
{
$enabled
=
array_filter
(
config
(
'views.settings'
)
->
get
(
'views_display_extenders'
));
$enabled
=
array_filter
(
(
array
)
config
(
'views.settings'
)
->
get
(
'views_display_extenders'
));
$options
=
views_fetch_plugin_names
(
'display_extender'
);
$options
=
views_fetch_plugin_names
(
'display_extender'
);
foreach
(
$options
as
$name
=>
$plugin
)
{
foreach
(
$options
as
$name
=>
$plugin
)
{
$enabled
[
$name
]
=
$name
;
$enabled
[
$name
]
=
$name
;
...
...
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