You are here

function getlocations_mapquest_link_formatter_defaults in Get Locations 7.2

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

Function

Return value

Returns

2 calls to getlocations_mapquest_link_formatter_defaults()
getlocations_mapquest_field_formatter_info in modules/getlocations_mapquest/getlocations_mapquest.module
Implements hook_field_formatter_info().
getlocations_mapquest_field_formatter_view in modules/getlocations_mapquest/getlocations_mapquest.module
Implements hook_field_formatter_view(). Build a renderable array for a field value.

File

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

Code

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