You are here

protected function DblogMessage::defineOptions in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::defineOptions()
  2. 9 core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::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\field

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['replace_variables'] = [
    'default' => TRUE,
  ];
  return $options;
}