function uc_addresses_theme in Ubercart Addresses 6.2
Same name and namespace in other branches
- 6 uc_addresses.module \uc_addresses_theme()
- 7 uc_addresses.module \uc_addresses_theme()
Implementation of hook_theme().
File
- ./
uc_addresses.module, line 1357 - Adds user profile address support to Ubercart.
Code
function uc_addresses_theme() {
return array(
'uc_addresses_address_book' => array(
'arguments' => array(
'addresses' => array(),
'address_book' => new stdClass(),
'options' => array(
'add_link' => FALSE,
),
),
'template' => 'templates/uc-addresses-address-book',
'file' => 'uc_addresses.pages.inc',
),
'uc_addresses_list_address' => array(
'arguments' => array(
'address' => new stdClass(),
'options' => array(
'view_link' => FALSE,
'edit_link' => FALSE,
'delete_link' => FALSE,
'default_flags' => FALSE,
'destination' => '',
'context' => 'address_view',
),
'label' => NULL,
'aid' => NULL,
'uid' => NULL,
'admin_links' => '',
'view_address_link' => '',
'edit_address_link' => '',
'delete_address_link' => '',
'classes' => NULL,
'classes_array' => array(),
),
'template' => 'templates/uc-addresses-list-address',
'file' => 'uc_addresses.pages.inc',
),
'uc_addresses_get_address_form' => array(
'arguments' => array(
'form' => NULL,
),
'file' => 'uc_addresses.pages.inc',
),
'uc_addresses_address_delete_confirm' => array(
'arguments' => array(
'help' => '',
'form' => NULL,
),
'file' => 'uc_addresses.pages.inc',
),
'uc_addresses_form' => array(
'arguments' => array(
'form' => NULL,
),
'template' => 'templates/uc-addresses-form',
'file' => 'uc_addresses.pages.inc',
),
'uc_addresses_address' => array(
'arguments' => array(
'element' => NULL,
),
),
'uc_addresses_default_address_checkbox' => array(
'arguments' => array(
'element' => NULL,
),
),
);
}