public function Message::buildOptionsForm

File

src/Plugin/views/field/Message.php, line 45

Class

Message
Provides a field handler that renders a log message with replaced variables.

Namespace

Drupal\tmgmt\Plugin\views\field

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  parent::buildOptionsForm($form, $form_state);
  $form['replace_variables'] = array(
    '#title' => t('Replace variables'),
    '#type' => 'checkbox',
    '#default_value' => $this->options['replace_variables'],
  );
}