public function LinkEdit::buildOptionsForm in Views (for Drupal 7) 8.3
Same name in this branch
- 8.3 lib/Views/locale/Plugin/views/field/LinkEdit.php \Views\locale\Plugin\views\field\LinkEdit::buildOptionsForm()
- 8.3 lib/Views/comment/Plugin/views/field/LinkEdit.php \Views\comment\Plugin\views\field\LinkEdit::buildOptionsForm()
- 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/ locale/ Plugin/ views/ field/ LinkEdit.php, line 43 - Definition of Views\locale\Plugin\views\field\LinkEdit.
Class
- LinkEdit
- Field handler to present a link to edit a translation.
Namespace
Views\locale\Plugin\views\fieldCode
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);
}