function theme_uc_addresses_address_delete_confirm in Ubercart Addresses 7
Same name and namespace in other branches
- 5.2 uc_addresses.module \theme_uc_addresses_address_delete_confirm()
- 5 uc_addresses.module \theme_uc_addresses_address_delete_confirm()
- 6.2 uc_addresses.pages.inc \theme_uc_addresses_address_delete_confirm()
- 6 uc_addresses.module \theme_uc_addresses_address_delete_confirm()
Themes the address deletion confirmation form.
@todo Move to template?
Parameters
string $help: The help message to display.
string $form: The HTML version of the form that by default includes the 'Back' and 'Delete Address' buttons at the bottom of the confirmation page.
Return value
string The themed confirmation form.
1 theme call to theme_uc_addresses_address_delete_confirm()
- uc_addresses_delete_address_confirm in ./
uc_addresses.pages.inc - Displays a confirmation page before deleting an address.
File
- ./
uc_addresses.pages.inc, line 517 - Page callbacks for viewing, adding, editing, and deleting addresses.
Code
function theme_uc_addresses_address_delete_confirm($variables) {
$help = $variables['help'];
$form = $variables['form'];
drupal_add_css(drupal_get_path('module', 'uc_addresses') . '/uc_addresses.css');
$output = '<p>' . $help . '</p>';
$output .= drupal_render($form);
return $output;
}