You are here

function ViewsDependentFilter::adminSummary in Views Dependent Filters 8

Display the filter on the administrative summary.

Overrides FilterPluginBase::adminSummary

File

src/Plugin/views/filter/ViewsDependentFilter.php, line 238

Class

ViewsDependentFilter
Filters by given list of related content title options.

Namespace

Drupal\views_dependent_filter\Plugin\views\filter

Code

function adminSummary() {
  $controller_filter = $this->options['controller_filter'];
  $dependent_filters = implode(', ', array_filter($this->options['dependent_filters']));
  return t("@controller controlling @dependents", array(
    '@controller' => $controller_filter,
    '@dependents' => $dependent_filters,
  ));
}