public function MapProviderBase::alterCommonMap in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/MapProviderBase.php \Drupal\geolocation\MapProviderBase::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.
Overrides MapProviderInterface::alterCommonMap
5 methods override MapProviderBase::alterCommonMap()
- Baidu::alterCommonMap in modules/
geolocation_baidu/ src/ Plugin/ geolocation/ MapProvider/ Baidu.php  - Alter common map build array.
 - GoogleMaps::alterCommonMap in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapProvider/ GoogleMaps.php  - Alter common map build array.
 - Here::alterCommonMap in modules/
geolocation_here/ src/ Plugin/ geolocation/ MapProvider/ Here.php  - Alter common map build array.
 - Leaflet::alterCommonMap in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapProvider/ Leaflet.php  - Alter common map build array.
 - Yandex::alterCommonMap in modules/
geolocation_yandex/ src/ Plugin/ geolocation/ MapProvider/ Yandex.php  - Alter common map build array.
 
File
- src/
MapProviderBase.php, line 282  
Class
- MapProviderBase
 - Provide Map Provider Base class.
 
Namespace
Drupal\geolocationCode
public function alterCommonMap(array $render_array, array $map_settings, array $context) {
  return $render_array;
}