You are here

function openlayers_cck_field_info in Openlayers 6.2

Same name and namespace in other branches
  1. 6 modules/openlayers_cck/openlayers_cck.module \openlayers_cck_field_info()

Implementation of hook_field_info().

File

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

Code

function openlayers_cck_field_info() {
  return array(
    'openlayers_wkt' => array(
      'label' => t('OpenLayers WKT'),
      'description' => t('Input WKT data via an OpenLayers map.'),
      'callbacks' => array(
        'tables' => CONTENT_CALLBACK_DEFAULT,
        'arguments' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}