You are here

public function HistoryUserTimestamp::adminSummary in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php \Drupal\history\Plugin\views\filter\HistoryUserTimestamp::adminSummary()
  2. 9 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');
  }
}