You are here

openlayers_maps.inc in Openlayers 7.2

File

modules/openlayers_ui/plugins/export_ui/openlayers_maps.inc
View source
<?php

/**
 * CTools Export UI required function for plugin definition
 * See function ctools_plugin_load_includes() in the module ctools.
 */
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.'),
        ),
      ),
    ),
  );
}

Functions

Namesort descending Description
openlayers_ui_openlayers_maps_ctools_export_ui CTools Export UI required function for plugin definition See function ctools_plugin_load_includes() in the module ctools.