function openlayers_ui_theme in Openlayers 7.2
Same name and namespace in other branches
- 6.2 modules/openlayers_ui/openlayers_ui.module \openlayers_ui_theme()
Implements hook_theme().
File
- modules/
openlayers_ui/ openlayers_ui.module, line 157 - Main Drupal module file for the OpenLayers UI module
Code
function openlayers_ui_theme($existing, $type, $theme, $path) {
return array(
'openlayers_ui_form_layer_description' => array(
'variables' => array(
'layer_title' => '',
'layer_description' => '',
),
'file' => 'includes/openlayers_ui.theme.inc',
),
'openlayers_ui_form_projection_description' => array(
'variables' => array(
'projection' => '',
'available_layers' => array(),
'layers' => array(),
),
'file' => 'includes/openlayers_ui.theme.inc',
),
'openlayers_ui_maps_form' => array(
'render element' => 'elements',
'file' => 'includes/openlayers_ui.theme.inc',
),
'openlayers_ui_maps_form_layers' => array(
'render element' => 'elements',
'file' => 'includes/openlayers_ui.theme.inc',
),
'openlayers_ui_maps_form_behaviors' => array(
'render element' => 'elements',
'file' => 'includes/openlayers_ui.theme.inc',
),
'openlayers_ui_styles_preview' => array(
'arguments' => array(
'style' => NULL,
),
'template' => 'openlayers-ui-styles-preview',
'path' => drupal_get_path('module', 'openlayers_ui') . '/themes',
),
);
}