You are here

function template_preprocess_uc_addresses_form in Ubercart Addresses 7

Same name and namespace in other branches
  1. 6.2 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 461
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>';
}