function ViewsDependentFilter::filters_enable in Views Dependent Filters 8
Enable the filters we control.
File
- src/
Plugin/ views/ filter/ ViewsDependentFilter.php, line 43
Class
- ViewsDependentFilter
- Filters by given list of related content title options.
Namespace
Drupal\views_dependent_filter\Plugin\views\filterCode
function filters_enable() {
foreach ($this->filters_kill as $filter_id) {
$this->view->display_handler
->getHandlers('filter')[$filter_id]->options['exposed'] = TRUE;
}
}