You are here

function template_preprocess_uc_addresses_form in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 7 uc_addresses.pages.inc \template_preprocess_uc_addresses_form()

Prepares variables for an address form.

Parameters

array $vars: An associative array containing:

  • form: A renderable address form.

Return value

void

File

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

Code

function template_preprocess_uc_addresses_form(&$vars) {
  drupal_add_css(drupal_get_path('module', 'uc_addresses') . '/uc_addresses.css');
  $vars['req'] = '<span class="form-required">*</span>';
}