You are here

public function GeolocationField::buildOptionsForm in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/field/GeolocationField.php \Drupal\geolocation\Plugin\views\field\GeolocationField::buildOptionsForm()
  2. 8 src/Plugin/views/field/GeolocationField.php \Drupal\geolocation\Plugin\views\field\GeolocationField::buildOptionsForm()

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

Overrides EntityField::buildOptionsForm

File

src/Plugin/views/field/GeolocationField.php, line 21

Class

GeolocationField
Field handler for geolocaiton field.

Namespace

Drupal\geolocation\Plugin\views\field

Code

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

  // Remove the click sort field selector.
  unset($form['click_sort_column']);
}