Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
better_exposed_filters
Commits
963cd58f
Commit
963cd58f
authored
Feb 17, 2019
by
nikita_tt
Committed by
Rick Hawkins
Feb 17, 2019
Browse files
Issue #2933528 by nikita_tt, NickWilde: Attribute "class" should be an array
parent
0c3dcb65
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Plugin/views/exposed_form/BetterExposedFilters.php
View file @
963cd58f
...
...
@@ -1220,7 +1220,9 @@ Title Desc|Z -> A</pre> Leave the replacement text blank to remove an option alt
'#title'
=>
$form
[
'#info'
][
"filter-
$label
"
][
'label'
]
?:
''
,
'#description'
=>
$form
[
'#info'
][
"filter-
$label
"
][
'description'
]
?:
''
,
// Needed to keep styling consistent with other exposed options.
'#attributes'
=>
array
(
'class'
=>
'form-item'
),
'#attributes'
=>
[
'class'
=>
[
'form-item'
],
],
'#value'
=>
NULL
,
],
];
...
...
Write
Preview
Supports
Markdown
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