You are here

function getlocations_theme in Get Locations 7

Same name and namespace in other branches
  1. 6.2 getlocations.theme.inc \getlocations_theme()
  2. 6 getlocations.theme.inc \getlocations_theme()
  3. 7.2 getlocations.module \getlocations_theme()

Implements hook_theme().

This lets us tell Drupal about our theme functions and their arguments.

File

./getlocations.module, line 6782
getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_theme() {
  return array(
    'getlocations_show' => array(
      'variables' => array(
        'width' => '',
        'height' => '',
        'defaults' => '',
        'mapid' => '',
        'latlons' => '',
        'minmaxes' => '',
        'type' => '',
        'node' => '',
      ),
    ),
    'getlocations_adinfo' => array(
      'variables' => array(
        'location' => NULL,
      ),
    ),
    'getlocations_box' => array(
      'variables' => array(
        'content' => NULL,
      ),
      'template' => 'getlocations_box',
    ),
    'getlocations_marker_box' => array(
      'variables' => array(
        'content' => NULL,
      ),
      'template' => 'getlocations_marker_box',
    ),
    'getlocations_settings_form' => array(
      'render element' => 'form',
    ),
    'getlocations_plugin_style_map_options_form' => array(
      'render element' => 'form',
    ),
    'getlocations_plugin_style_streetview_options_form' => array(
      'render element' => 'form',
    ),
    'getlocations_latitude_dms' => array(
      'variables' => array(
        'latitude' => '',
      ),
    ),
    'getlocations_longitude_dms' => array(
      'variables' => array(
        'longitude' => '',
      ),
    ),
    'getlocations_addressfield_convert' => array(
      'variables' => array(
        'address' => array(),
      ),
    ),
    'getlocations_lidinfo' => array(
      'variables' => array(
        'lid' => '',
        'lidkey' => '',
      ),
    ),
  );
}