You are here

public static function Here::getControlPositions in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 modules/geolocation_here/src/Plugin/geolocation/MapProvider/Here.php \Drupal\geolocation_here\Plugin\geolocation\MapProvider\Here::getControlPositions()

Return available control positions.

Return value

array|false Positions.

Overrides MapProviderBase::getControlPositions

File

modules/geolocation_here/src/Plugin/geolocation/MapProvider/Here.php, line 142

Class

Here
Provides HERE Maps API.

Namespace

Drupal\geolocation_here\Plugin\geolocation\MapProvider

Code

public static function getControlPositions() {
  return [
    'topleft' => t('Top left'),
    'topright' => t('Top right'),
    'bottomleft' => t('Bottom left'),
    'bottomright' => t('Bottom right'),
  ];
}