public function ShurlyLinkEdit::buildOptionsForm in ShURLy 8
Default options form that provides the label widget that all fields should have.
Overrides FieldPluginBase::buildOptionsForm
File
- src/
Plugin/ views/ field/ ShurlyLinkEdit.php, line 47
Class
- ShurlyLinkEdit
- Field handler to provide a link to the short URL entry.
Namespace
Drupal\shurly\Plugin\views\fieldCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
$form['text'] = [
'#type' => 'textfield',
'#title' => t('Text to display'),
'#default_value' => $this->options['text'],
];
parent::buildOptionsForm($form, $form_state);
}