public function MapCenterInterface::alterMap in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/MapCenterInterface.php \Drupal\geolocation\MapCenterInterface::alterMap()
Alter map..
Parameters
array $map: Map object.
int $center_option_id: MapCenter option ID.
array $center_option_settings: The current feature settings.
mixed $context: Context like field formatter, field widget or view.
Return value
array Map object.
1 method overrides MapCenterInterface::alterMap()
- MapCenterBase::alterMap in src/
MapCenterBase.php - Alter map..
File
- src/
MapCenterInterface.php, line 72
Class
- MapCenterInterface
- Defines an interface for geolocation MapCenter plugins.
Namespace
Drupal\geolocationCode
public function alterMap(array $map, $center_option_id, array $center_option_settings, $context = NULL);