function styled_google_map_views_data in Styled Google Map 8.2
Implements hook_views_data().
File
- ./
styled_google_map.views.inc, line 11 - Provide views data for our custom styled_google_map.
Code
function styled_google_map_views_data() {
$data['views']['styled_google_map'] = [
'title' => t('Styled Google Map'),
'help' => t('Display the values of geofields on styled Google map.'),
'style' => [
'id' => 'styled_google_map',
],
];
$data['views']['google_map_control'] = [
'title' => t('Google map custom control'),
'help' => t('Provide markup text for the area.'),
'area' => [
'id' => 'google_map_control',
],
];
return $data;
}