public function LocationInterface::getAvailableLocationOptions in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/LocationInterface.php \Drupal\geolocation\LocationInterface::getAvailableLocationOptions()
For one Location (i.e. boundary filter), return all options (all filters).
Parameters
mixed $context: Context like field formatter, field widget or view.
Return value
array Available location options indexed by ID.
1 method overrides LocationInterface::getAvailableLocationOptions()
- LocationBase::getAvailableLocationOptions in src/
LocationBase.php - For one Location (i.e. boundary filter), return all options (all filters).
File
- src/
LocationInterface.php, line 55
Class
- LocationInterface
- Defines an interface for geolocation Location plugins.
Namespace
Drupal\geolocationCode
public function getAvailableLocationOptions($context);