You are here

function yamaps_get_behaviors_list in Yandex.Maps 7

Returns behaviors list.

Return value

array Types of behaviours.

4 calls to yamaps_get_behaviors_list()
yamaps_block_configure in inc/yamaps.block.inc
Implements hook_block_configure().
yamaps_field_formatter_info in inc/yamaps.formatter.inc
Implements hook_field_formatter_info().
yamaps_field_formatter_settings_form in inc/yamaps.formatter.inc
Implements hook_field_formatter_settings_form().
yamaps_field_formatter_settings_summary in inc/yamaps.formatter.inc
Implements hook_field_formatter_settings_summary().

File

./yamaps.functions.inc, line 118
Yandex Maps functions used across all components of the module.

Code

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