You are here

protected function YaMapsBlock::getBehaviorsList in Yandex.Maps 8

Returns behaviors list.

Return value

array Types of behaviours.

1 call to YaMapsBlock::getBehaviorsList()
YaMapsBlock::blockForm in src/Plugin/Block/YaMapsBlock.php

File

src/Plugin/Block/YaMapsBlock.php, line 321

Class

YaMapsBlock
Provides a yandex map block.

Namespace

Drupal\yamaps\Plugin\Block

Code

protected function getBehaviorsList() {
  return [
    'clickZoom' => $this
      ->t('Click Zoom'),
    'scrollZoom' => $this
      ->t('Scroll Zoom'),
    'dblClickZoom' => $this
      ->t('Double click zoom'),
    'drag' => $this
      ->t('Click and drag'),
    'multiTouch' => $this
      ->t('Multi Touch support'),
    'ruler' => $this
      ->t('Ruler'),
    'rightMouseButtonMagnifier' => $this
      ->t('Right mouse button magnifier'),
  ];
}