You are here

public function GeolocationField::buildOptionsForm in Geolocation Field 8

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.2 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 20

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);

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