You are here

protected function BBoxArgument::defineOptions in Views GeoJSON 8

@TODO: Is this correct?

Overrides StringArgument::defineOptions

File

src/Plugin/views/argument/BBoxArgument.php, line 23

Class

BBoxArgument
Argument handler for Bounding Boxes.

Namespace

Drupal\views_geojson\Plugin\views\argument

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['round_coordinates'] = [
    'default' => TRUE,
  ];
  return $options;
}