Called to add the field to a query.
Overrides FieldPluginBase::query
File
- drupal/core/modules/history/lib/Drupal/history/Plugin/views/field/HistoryUserTimestamp.php, line 63
- Contains \Drupal\history\Plugin\views\field\HistoryUserTimestamp.
Class
- HistoryUserTimestamp
- Field handler to display the marker for new content.
Namespace
Drupal\history\Plugin\views\field
Code
public function query() {
global $user;
if (!$user->uid) {
return;
}
parent::query();
}