You are here

function theme_uc_addresses_get_address_form in Ubercart Addresses 7

Same name and namespace in other branches
  1. 5.2 uc_addresses.module \theme_uc_addresses_get_address_form()
  2. 5 uc_addresses.module \theme_uc_addresses_get_address_form()
  3. 6.2 uc_addresses.pages.inc \theme_uc_addresses_get_address_form()
  4. 6 uc_addresses.module \theme_uc_addresses_get_address_form()

Themes the add or edit address form.

Parameters

array $variables: An array containing:

  • form (array): The form array to theme.

Return value

string The themed form.

File

./uc_addresses.pages.inc, line 444
Page callbacks for viewing, adding, editing, and deleting addresses.

Code

function theme_uc_addresses_get_address_form($variables) {
  $form = $variables['form'];
  drupal_add_css(drupal_get_path('module', 'uc_addresses') . '/uc_addresses.css');
  return drupal_render_children($form);
}