Commit de66d3db authored by Martin Keereman's avatar Martin Keereman
Browse files

Use process instead of after_build

parent 6c888a6d
......@@ -169,7 +169,7 @@ abstract class FilterWidgetBase extends BetterExposedFiltersWidgetBase implement
if ($this->configuration['advanced']['sort_options']) {
$form[$field_id]['#nested'] = $filter->options['hierarchy'] ?? FALSE;
$form[$field_id]['#nested_delimiter'] = '-';
$form[$field_id]['#after_build'][] = [$this, 'processSortedOptions'];
$form[$field_id]['#process'][] = [$this, 'processSortedOptions'];
}
// Check for placeholder text.
......
Markdown is supported
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