function DblogMessage::buildOptionsForm
Same name in other branches
- 8.9.x core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::buildOptionsForm()
- 10 core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::buildOptionsForm()
- 11.x core/modules/dblog/src/Plugin/views/field/DblogMessage.php \Drupal\dblog\Plugin\views\field\DblogMessage::buildOptionsForm()
Overrides FieldPluginBase::buildOptionsForm
File
-
core/
modules/ dblog/ src/ Plugin/ views/ field/ DblogMessage.php, line 45
Class
- DblogMessage
- Provides a field handler that renders a log event with replaced variables.
Namespace
Drupal\dblog\Plugin\views\fieldCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
$form['replace_variables'] = [
'#title' => $this->t('Replace variables'),
'#type' => 'checkbox',
'#default_value' => $this->options['replace_variables'],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.