You are here

public function FractionField::buildOptionsForm in Fraction 8

Same name and namespace in other branches
  1. 2.x src/Plugin/views/field/FractionField.php \Drupal\fraction\Plugin\views\field\FractionField::buildOptionsForm()

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

Overrides EntityField::buildOptionsForm

File

src/Plugin/views/field/FractionField.php, line 42

Class

FractionField
Field handler for Fraction fields.

Namespace

Drupal\fraction\Plugin\views\field

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {

  // Inherit the parent options form.
  parent::buildOptionsForm($form, $form_state);

  // Remove the 'click_sort_column' form element.
  unset($form['click_sort_column']);
}