function yamaps_views_views_plugins in Yandex.Maps 7
Implements hook_views_plugins().
File
- modules/
yamaps_views/ yamaps_views.views.inc, line 11 - Hook views file.
Code
function yamaps_views_views_plugins() {
return [
'module' => 'yamaps_views',
'style' => [
'default_map' => [
'title' => t('Yandex Maps'),
'help' => t('Display Yandex Map'),
'handler' => 'yamaps_views_plugin_style_default_map',
'path' => drupal_get_path('module', 'yamaps_views') . '/handlers',
'uses options' => TRUE,
'uses row plugin' => FALSE,
'uses row class' => FALSE,
'uses grouping' => FALSE,
'uses fields' => TRUE,
'even empty' => TRUE,
'type' => 'normal',
],
],
];
}