public function HistoryUserTimestamp::query in Drupal 10
Same name in this branch
- 10 core/modules/history/src/Plugin/views/filter/HistoryUserTimestamp.php \Drupal\history\Plugin\views\filter\HistoryUserTimestamp::query()
- 10 core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php \Drupal\history\Plugin\views\field\HistoryUserTimestamp::query()
Same name and namespace in other branches
- 8 core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php \Drupal\history\Plugin\views\field\HistoryUserTimestamp::query()
- 9 core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php \Drupal\history\Plugin\views\field\HistoryUserTimestamp::query()
File
- core/
modules/ history/ src/ Plugin/ views/ field/ HistoryUserTimestamp.php, line 73
Class
- HistoryUserTimestamp
- Field handler to display the marker for new content.
Namespace
Drupal\history\Plugin\views\fieldCode
public function query() {
// Only add ourselves to the query if logged in.
if (\Drupal::currentUser()
->isAnonymous()) {
return;
}
parent::query();
}