You are here

function getlocations_element_path in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.module \getlocations_element_path()
  2. 7.2 getlocations.module \getlocations_element_path()
  3. 7 getlocations.module \getlocations_element_path()
1 call to getlocations_element_path()
getlocations_settings_form in ./getlocations.admin.inc
Function to display the getlocations admin settings form

File

./getlocations.module, line 1429
Displays locations on a map. for Drupal 6 using version 3 googlemaps API

Code

function getlocations_element_path($title, $default, $size, $maxlength, $description) {
  $element = array(
    '#type' => 'textfield',
    '#title' => $title,
    '#default_value' => $default,
    '#size' => $size,
    '#maxlength' => $maxlength,
    '#description' => $description,
    '#required' => TRUE,
  );
  return $element;
}