You are here

function getlocations_leaflet_link_formatter_defaults in Get Locations 7

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

Function

Return value

Returns

2 calls to getlocations_leaflet_link_formatter_defaults()
getlocations_leaflet_field_formatter_info in modules/getlocations_leaflet/getlocations_leaflet.module
Implements hook_field_formatter_info().
getlocations_leaflet_field_formatter_view in modules/getlocations_leaflet/getlocations_leaflet.module
Implements hook_field_formatter_view(). Build a renderable array for a field value.

File

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

Code

function getlocations_leaflet_link_formatter_defaults() {
  return array(
    'text' => t('this location'),
    'text_opt' => 'page',
    'text_options' => array(
      '' => t('None'),
      'page' => t('Page title'),
    ),
  );
}