You are here

function geolocation_field_info in Geolocation Field 6

Same name and namespace in other branches
  1. 7 geolocation.module \geolocation_field_info()

Implementation of hook_field_info().

File

./geolocation.module, line 15

Code

function geolocation_field_info() {
  return array(
    // The machine name of the field,
    // no more than 32 characters.
    'geolocation_latlng' => array(
      // The human-readable label of the field that will be
      // seen in the Manage fields screen.
      'label' => t('Geolocation'),
      // A description of what type of data the field stores.
      'description' => t('Geolocation input.'),
    ),
  );
}