openlayers_maps.inc in Openlayers 7.2
File
modules/openlayers_ui/plugins/export_ui/openlayers_maps.inc
View source
<?php
function openlayers_ui_openlayers_maps_ctools_export_ui() {
return array(
'schema' => 'openlayers_maps',
'access' => 'administer openlayers',
'menu' => array(
'menu prefix' => 'admin/structure/openlayers',
'menu item' => 'maps',
'menu title' => 'Maps',
'menu description' => 'Administer OpenLayers Maps presets.',
),
'handler' => array(
'class' => 'openlayers_maps_ui',
),
'export' => array(
'admin_title' => 'name',
'admin_description' => 'description',
),
'title singular' => t('map'),
'title plural' => t('maps'),
'title singular proper' => t('Openlayers Map preset'),
'title plural proper' => t('Openlayers Maps presets'),
'strings' => array(
'confirmation' => array(
'add' => array(
'success' => t('Map saved.'),
),
'delete' => array(
'success' => t('Map was deleted.'),
),
),
),
);
}