GeolocationField.php in Geolocation Field 8
Same filename and directory in other branches
Namespace
Drupal\geolocation\Plugin\views\fieldFile
src/Plugin/views/field/GeolocationField.phpView source
<?php
namespace Drupal\geolocation\Plugin\views\field;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Plugin\views\field\Field;
/**
* Field handler for geolocaiton field.
*
* @ingroup views_field_handlers
*
* @ViewsField("geolocation_field")
*/
class GeolocationField extends Field {
/**
* {@inheritdoc}
*/
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
// Remote the click sort field selector.
unset($form['click_sort_column']);
}
}
Classes
Name![]() |
Description |
---|---|
GeolocationField | Field handler for geolocaiton field. |