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
abd8ccf3
Commit
abd8ccf3
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
cdee5b98
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Plugin/better_exposed_filters/filter/FilterWidgetBase.php
View file @
abd8ccf3
...
...
@@ -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
.
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