You are here

public function MapCenterBase::alterMap in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/MapCenterBase.php \Drupal\geolocation\MapCenterBase::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.

Overrides MapCenterInterface::alterMap

5 calls to MapCenterBase::alterMap()
ClientLocation::alterMap in src/Plugin/geolocation/MapCenter/ClientLocation.php
Alter map..
FitLocations::alterMap in src/Plugin/geolocation/MapCenter/FitLocations.php
Alter map..
FixedBoundaries::alterMap in src/Plugin/geolocation/MapCenter/FixedBoundaries.php
Alter map..
ViewsBoundaryArgument::alterMap in src/Plugin/geolocation/MapCenter/ViewsBoundaryArgument.php
Alter map..
ViewsBoundaryFilter::alterMap in src/Plugin/geolocation/MapCenter/ViewsBoundaryFilter.php
Alter map..
6 methods override MapCenterBase::alterMap()
ClientLocation::alterMap in src/Plugin/geolocation/MapCenter/ClientLocation.php
Alter map..
FitLocations::alterMap in src/Plugin/geolocation/MapCenter/FitLocations.php
Alter map..
FixedBoundaries::alterMap in src/Plugin/geolocation/MapCenter/FixedBoundaries.php
Alter map..
Location::alterMap in src/Plugin/geolocation/MapCenter/Location.php
Alter map..
ViewsBoundaryArgument::alterMap in src/Plugin/geolocation/MapCenter/ViewsBoundaryArgument.php
Alter map..

... See full list

File

src/MapCenterBase.php, line 71

Class

MapCenterBase
Class MapCenterBase.

Namespace

Drupal\geolocation

Code

public function alterMap(array $map, $center_option_id, array $center_option_settings, $context = NULL) {
  return $map;
}