You are here

public function GetText::buildOptionsForm in Message 8

Default options form that provides the label widget that all fields should have.

Overrides FieldPluginBase::buildOptionsForm

File

src/Plugin/views/field/GetText.php, line 51

Class

GetText
Field handler to present a link to the node.

Namespace

Drupal\message\Plugin\views\field

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  $form['delta'] = [
    '#type' => 'textfield',
    '#title' => $this
      ->t('Delta'),
    '#size' => 5,
    '#default_value' => $this->options['delta'],
  ];
  parent::buildOptionsForm($form, $form_state);
}