public function MapProviderInterface::alterRenderArray in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/MapProviderInterface.php \Drupal\geolocation\MapProviderInterface::alterRenderArray()
Alter render 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::alterRenderArray()
- MapProviderBase::alterRenderArray in src/
MapProviderBase.php - Alter render array.
File
- src/
MapProviderInterface.php, line 68
Class
- MapProviderInterface
- Defines an interface for geolocation MapProvider plugins.
Namespace
Drupal\geolocationCode
public function alterRenderArray(array $render_array, array $map_settings, array $context);