You are here

public function LocationInputInterface::getAvailableLocationInputOptions in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 src/LocationInputInterface.php \Drupal\geolocation\LocationInputInterface::getAvailableLocationInputOptions()

For one LocationInput (i.e. boundary filter), return all options.

Parameters

mixed $context: Context like field formatter, field widget or view.

Return value

array Available center options indexed by ID.

1 method overrides LocationInputInterface::getAvailableLocationInputOptions()
LocationInputBase::getAvailableLocationInputOptions in src/LocationInputBase.php
For one LocationInput (i.e. boundary filter), return all options.

File

src/LocationInputInterface.php, line 55

Class

LocationInputInterface
Defines an interface for geolocation LocationInput plugins.

Namespace

Drupal\geolocation

Code

public function getAvailableLocationInputOptions($context);