Skip to content
GitLab
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
8423a2dc
Commit
8423a2dc
authored
Nov 06, 2020
by
florenttorregrosa
Committed by
Neslee
Nov 06, 2020
Browse files
Issue #3181042 by Grimreaper: getExposedFilterWidgetType method is not working properly
parent
6b9c4672
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php
View file @
8423a2dc
...
...
@@ -325,6 +325,7 @@ abstract class FilterWidgetBase extends BetterExposedFiltersWidgetBase implement
$form_state
->
set
(
'exposed'
,
TRUE
);
/** @var \Drupal\views\Plugin\views\filter\FilterPluginBase $filter */
$filter
=
$this
->
handler
;
$filter
->
buildExposedForm
(
$form
,
$form_state
);
$filter_id
=
$filter
->
options
[
'expose'
][
'identifier'
];
return
$form
[
$filter_id
][
'#type'
]
??
$form
[
$filter_id
][
'value'
][
'#type'
]
??
''
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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