You are here

function openlayers_cck_openlayers_behaviors in Openlayers 6.2

Implementation of hook_openlayers_behaviors

File

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

Code

function openlayers_cck_openlayers_behaviors() {
  return array(
    'openlayers_cck_vector_layer' => array(
      'title' => t('Dynamic Vector Layer for CCK'),
      'description' => t('Adds a dynamic layer from a features array'),
      'type' => 'layer',
      'path' => drupal_get_path('module', 'openlayers_cck') . '/includes/behaviors',
      'file' => 'openlayers_cck_vector_layer.inc',
      'ui_visibility' => FALSE,
      'behavior' => array(
        'class' => 'openlayers_cck_vector_layer',
        'parent' => 'openlayers_behavior',
      ),
    ),
  );
}