public function MapProviderInterface::alterCommonMap in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/MapProviderInterface.php \Drupal\geolocation\MapProviderInterface::alterCommonMap()
Alter common map build array.
Parameters
array $render_array: Render array.
array $map_settings: The current map settings.
array $context: Context like field formatter, field widget or view.
Return value
array Render attachments.
1 method overrides MapProviderInterface::alterCommonMap()
- MapProviderBase::alterCommonMap in src/
MapProviderBase.php - Alter common map build array.
File
- src/
MapProviderInterface.php, line 83
Class
- MapProviderInterface
- Defines an interface for geolocation MapProvider plugins.
Namespace
Drupal\geolocationCode
public function alterCommonMap(array $render_array, array $map_settings, array $context);