You are here

public function LinkEdit::buildOptionsForm in Views (for Drupal 7) 8.3

Same name in this branch
  1. 8.3 lib/Views/locale/Plugin/views/field/LinkEdit.php \Views\locale\Plugin\views\field\LinkEdit::buildOptionsForm()
  2. 8.3 lib/Views/comment/Plugin/views/field/LinkEdit.php \Views\comment\Plugin\views\field\LinkEdit::buildOptionsForm()
  3. 8.3 lib/Views/taxonomy/Plugin/views/field/LinkEdit.php \Views\taxonomy\Plugin\views\field\LinkEdit::buildOptionsForm()

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

Overrides FieldPluginBase::buildOptionsForm

File

lib/Views/taxonomy/Plugin/views/field/LinkEdit.php, line 48
Definition of Views\taxonomy\Plugin\views\field\LinkEdit.

Class

LinkEdit
Field handler to present a term edit link.

Namespace

Views\taxonomy\Plugin\views\field

Code

public function buildOptionsForm(&$form, &$form_state) {
  $form['text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display'),
    '#default_value' => $this->options['text'],
  );
  parent::buildOptionsForm($form, $form_state);
}