public function MaestroEngineProcessInitiator::buildOptionsForm in Maestro 8.2
Same name and namespace in other branches
- 3.x src/Plugin/views/field/MaestroEngineProcessInitiator.php \Drupal\maestro\Plugin\views\field\MaestroEngineProcessInitiator::buildOptionsForm()
Provide the options form.
Overrides FieldPluginBase::buildOptionsForm
File
- src/
Plugin/ views/ field/ MaestroEngineProcessInitiator.php, line 43
Class
- MaestroEngineProcessInitiator
- Field handler to translate the UID field into a username.
Namespace
Drupal\maestro\Plugin\views\fieldCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
$form['show_as_link'] = [
'#title' => $this
->t('Show as an HTML link to the user account.'),
'#type' => 'checkbox',
'#default_value' => isset($this->options['show_as_link']) ? $this->options['show_as_link'] : 0,
];
parent::buildOptionsForm($form, $form_state);
}