You are here

public function BoundaryArgument::buildOptionsForm in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/argument/BoundaryArgument.php \Drupal\geolocation\Plugin\views\argument\BoundaryArgument::buildOptionsForm()

Provide a form to edit options for this plugin.

Overrides ArgumentPluginBase::buildOptionsForm

File

src/Plugin/views/argument/BoundaryArgument.php, line 27

Class

BoundaryArgument
Argument handler for geolocation boundary.

Namespace

Drupal\geolocation\Plugin\views\argument

Code

public function buildOptionsForm(&$form, FormStateInterface $form_state) {
  parent::buildOptionsForm($form, $form_state);
  $form['description']['#markup'] .= $this
    ->t('<br/>Boundary format should be in a NE-Lat,NE-Lng,SW-Lat,SW-Lng format: <strong>"11.1,33.3,55.5,77.7"</strong> .');
}