gmap_cck_field_info

Definition

gmap_cck_field_info()
gmap_addons/gmap_cck.module, line 22

Description

Declare information about a field type.

Return value

An array keyed by field type name. Each element of the array is an associative array with these keys and values:

  • "label": The human-readable label for the field type.

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.

Code

<?php
function gmap_cck_field_info() {
  return array(
    'gmap_cck' => array('label' => 'Google map view'),
  );
}
?>