You are here

function openlayers_views_openlayers_layer_types in Openlayers 6.2

Implementation of hook_openlayers_layer_types()

File

modules/openlayers_views/openlayers_views.module, line 117
This file holds the main Drupal hook functions and private functions for the openlayers_views module.

Code

function openlayers_views_openlayers_layer_types() {
  return array(
    'openlayers_views_vector' => array(
      'title' => t('OpenLayers_Views'),
      'description' => t('OpenLayers Views Vector'),
      'layer_type' => array(
        'path' => drupal_get_path('module', 'openlayers_views') . '/includes/layer_types',
        'file' => 'openlayers_views_vector.inc',
        'class' => 'openlayers_layer_type_openlayers_views_vector',
        'parent' => 'openlayers_layer_type',
      ),
    ),
  );
}