You are here

public function HistoryUserTimestamp::adminSummary in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php \Drupal\history\Plugin\views\filter\HistoryUserTimestamp::adminSummary()
  2. 10 core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php \Drupal\history\Plugin\views\filter\HistoryUserTimestamp::adminSummary()

Display the filter on the administrative summary

Overrides FilterPluginBase::adminSummary

File

core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php, line 106

Class

HistoryUserTimestamp
Filter for new content.

Namespace

Drupal\history\Plugin\views\filter

Code

public function adminSummary() {
  if (!empty($this->options['exposed'])) {
    return $this
      ->t('exposed');
  }
}