You are here

public function MapCenterInterface::getAvailableMapCenterOptions in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/MapCenterInterface.php \Drupal\geolocation\MapCenterInterface::getAvailableMapCenterOptions()

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

Parameters

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

Return value

array Available center options indexed by ID.

1 method overrides MapCenterInterface::getAvailableMapCenterOptions()
MapCenterBase::getAvailableMapCenterOptions in src/MapCenterBase.php
For one MapCenter (i.e. boundary filter), return all options (all filters).

File

src/MapCenterInterface.php, line 55

Class

MapCenterInterface
Defines an interface for geolocation MapCenter plugins.

Namespace

Drupal\geolocation

Code

public function getAvailableMapCenterOptions($context);