You are here

public static function Openlayers::positioningOptions in Openlayers 7.3

Returns an array with positioning options.

Return value

string[] Array with positioning options.

3 calls to Openlayers::positioningOptions()
Autopopup::optionsForm in src/Plugin/Component/Autopopup/Autopopup.php
@TODO What is this return? If it is the form, why is form by reference?
Popup::optionsForm in src/Plugin/Component/Popup/Popup.php
@TODO What is this return? If it is the form, why is form by reference?
Tooltip::optionsForm in src/Plugin/Component/Tooltip/Tooltip.php
@TODO What is this return? If it is the form, why is form by reference?

File

src/Openlayers.php, line 363
Contains Openlayers.

Class

Openlayers
Class Openlayers.

Namespace

Drupal\openlayers

Code

public static function positioningOptions() {
  return array(
    'bottom-left' => t('bottom-left'),
    'bottom-center' => t('bottom-center'),
    'bottom-right' => t('bottom-right'),
    'center-left' => t('center-left'),
    'center-center' => t('center-center'),
    'center-right' => t('center-right'),
    'top-left' => t('top-left'),
    'top-center' => t('top-center'),
    'top-right' => t('top-right'),
  );
}