You are here

public function GeofieldRectBoundaryArgument::buildOptionsForm in Geofield 8

Provide a form to edit options for this plugin.

Overrides ArgumentPluginBase::buildOptionsForm

File

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

Class

GeofieldRectBoundaryArgument
Argument handler for geofield rectangular boundary.

Namespace

Drupal\geofield\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-Latitude,NE-Longitude,SW-Latitude,SW-Longitude format: <strong>"40.773,-73.972,40.748,-73.984"</strong> .');
}