You are here

public function FlagViewsFlaggedField::buildOptionsForm in Flag 8.4

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

Overrides Boolean::buildOptionsForm

File

src/Plugin/views/field/FlagViewsFlaggedField.php, line 48

Class

FlagViewsFlaggedField
Provides a views field to show if the selected content is flagged or not.

Namespace

Drupal\flag\Plugin\views\field

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  $form['relationship']['#default_value'] = $this->options['relationship'];
  parent::buildOptionsForm($form, $form_state);
}