protected function HistoryUserTimestamp::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php \Drupal\history\Plugin\views\field\HistoryUserTimestamp::defineOptions()
- 9 core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php \Drupal\history\Plugin\views\field\HistoryUserTimestamp::defineOptions()
Overrides Node::defineOptions
File
- core/
modules/ history/ src/ Plugin/ views/ field/ HistoryUserTimestamp.php, line 48
Class
- HistoryUserTimestamp
- Field handler to display the marker for new content.
Namespace
Drupal\history\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['comments'] = [
'default' => FALSE,
];
return $options;
}