Commit c19b21ac authored by gaelg's avatar gaelg Committed by Rick Hawkins
Browse files

Issue #3012070 by GaëlG: Undefined variable: source in InOperator->valueForm()

parent 9a2b12b8
......@@ -525,6 +525,10 @@ Title Desc|Z -> A</pre> Leave the replacement text blank to remove an option alt
$filter_form = array();
$form_state = new FormState();
// Let form plugins know this is for exposed widgets.
$form_state->set('exposed', TRUE);
/** @var \Drupal\views\Plugin\views\filter\FilterPluginBase $filter */
$filter->buildExposedForm($filter_form, $form_state);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment