public function FlagViewsLinkField::buildOptionsForm in Flag 8.4
Default options form that provides the label widget that all fields should have.
Overrides FieldPluginBase::buildOptionsForm
File
- src/
Plugin/ views/ field/ FlagViewsLinkField.php, line 102
Class
- FlagViewsLinkField
- Provides a views field to flag or unflag the selected content.
Namespace
Drupal\flag\Plugin\views\fieldCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
$form['relationship']['#default_value'] = $this->options['relationship'];
parent::buildOptionsForm($form, $form_state);
}