function HistoryUserTimestamp::defineOptions
Same name in other branches
- 9 core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php \Drupal\history\Plugin\views\field\HistoryUserTimestamp::defineOptions()
- 10 core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php \Drupal\history\Plugin\views\field\HistoryUserTimestamp::defineOptions()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.