You are here

function getlocations_mapquest_controlpositions in Get Locations 7

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

Function

Return value

Returns

1 call to getlocations_mapquest_controlpositions()
getlocations_mapquest_display_options_form in modules/getlocations_mapquest/getlocations_mapquest.module
Function

File

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

Code

function getlocations_mapquest_controlpositions($dd = TRUE) {
  if ($dd) {
    $controlpositions = array(
      '' => t('Default'),
      'topleft' => t('Top Left'),
      'topright' => t('Top Right'),
      'bottomright' => t('Bottom Right'),
      'bottomleft' => t('Bottom Left'),
    );
  }
  else {
    $controlpositions = array(
      'topleft',
      'topright',
      'bottomright',
      'bottomleft',
    );
  }
  return $controlpositions;
}