function geofield_openlayers_behaviors in Geofield 7
Same name and namespace in other branches
- 7.2 geofield.openlayers.inc \geofield_openlayers_behaviors()
Implements hook_openlayers_behaviors().
File
- ./
geofield.openlayers.inc, line 168 - Provides hooks for integration with OpenLayers (http://drupal.org/project/openlayers)
Code
function geofield_openlayers_behaviors() {
return array(
'openlayers_behavior_geofield' => array(
'title' => t('Geofield'),
'description' => t('Fuels the geofield map-input form.'),
'type' => 'layer',
'behavior' => array(
'path' => drupal_get_path('module', 'geofield') . '/includes/behaviors',
'file' => 'openlayers_behavior_geofield.inc',
'class' => 'openlayers_behavior_geofield',
'parent' => 'openlayers_behavior',
),
),
);
}