public function Link::buildOptionsForm in Views (for Drupal 7) 8.3
Same name in this branch
- 8.3 lib/Views/node/Plugin/views/field/Link.php \Views\node\Plugin\views\field\Link::buildOptionsForm()
- 8.3 lib/Views/user/Plugin/views/field/Link.php \Views\user\Plugin\views\field\Link::buildOptionsForm()
- 8.3 lib/Views/comment/Plugin/views/field/Link.php \Views\comment\Plugin\views\field\Link::buildOptionsForm()
Default options form that provides the label widget that all fields should have.
Overrides FieldPluginBase::buildOptionsForm
1 call to Link::buildOptionsForm()
- ContactLink::buildOptionsForm in lib/
Views/ contact/ Plugin/ views/ field/ ContactLink.php - Default options form that provides the label widget that all fields should have.
1 method overrides Link::buildOptionsForm()
- ContactLink::buildOptionsForm in lib/
Views/ contact/ Plugin/ views/ field/ ContactLink.php - Default options form that provides the label widget that all fields should have.
File
- lib/
Views/ user/ Plugin/ views/ field/ Link.php, line 41 - Definition of Views\user\Plugin\views\field\Link.
Class
- Link
- Field handler to present a link to the user.
Namespace
Views\user\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);
}