You are here

function getlocations_leaflet_field_info in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_leaflet/getlocations_leaflet.module \getlocations_leaflet_field_info()

Implements hook_field_info(). Define Field API field types.

Return value

An array whose keys are field type names and whose values are arrays describing the field type.

1 call to getlocations_leaflet_field_info()
getlocations_leaflet_field_settings_form in modules/getlocations_leaflet/getlocations_leaflet.module
Implements hook_field_settings_form(). Add settings to a field settings form.

File

modules/getlocations_leaflet/getlocations_leaflet.module, line 463
getlocations_leaflet.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_leaflet_field_info() {
  $info = array(
    'getlocations_leaflet' => array(
      'label' => t('Getlocations Leaflet Map'),
      'description' => t('Provide Getlocations Leaflet Map.'),
      'default_formatter' => 'getlocations_leaflet_map',
      'default_widget' => 'getlocations_leaflet_map',
      'settings' => array(
        'input_text' => 0,
      ),
    ),
  );
  return $info;
}