function DblogMessage::defineOptions
Same name in other branches
- 8.9.x core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::defineOptions()
- 10 core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::defineOptions()
- 11.x core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::defineOptions()
Overrides FieldPluginBase::defineOptions
File
-
core/
modules/ dblog/ src/ Plugin/ views/ field/ DblogMessage.php, line 35
Class
- DblogMessage
- Provides a field handler that renders a log event with replaced variables.
Namespace
Drupal\dblog\Plugin\views\fieldCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['replace_variables'] = [
'default' => TRUE,
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.