geo_field_types

geo/geo.module, line 107

Versions
6
geo_field_types()

API Function: Return any field types that may contain geospatial data.

▾ 2 functions call geo_field_types()

geo_field_formatter_info in geo/geo.module
Implementation of hook_field_formatter_info().
geo_field_formatter_info in geo/geo.module
Implementation of hook_field_formatter_info().

Code

<?php
function geo_field_types() {
  static $field_types;
  if (!isset($field_types)) {
    $field_types = array('geo', 'geo_data');
    drupal_alter('geo_field_types', $field_types);
  }
  return $field_types;
}
?>