function theme_uc_cart_pane_quotes in Ubercart 8.4
Same name and namespace in other branches
- 5 shipping/uc_quote/uc_quote.module \theme_uc_cart_pane_quotes()
- 6.2 shipping/uc_quote/uc_quote.module \theme_uc_cart_pane_quotes()
- 7.3 shipping/uc_quote/uc_quote.theme.inc \theme_uc_cart_pane_quotes()
Displays the formatted quote cart pane.
Parameters
array $variables: An associative array containing:
- form: A render element representing the form.
Return value
string Formatted HTML.
1 string reference to 'theme_uc_cart_pane_quotes'
- uc_quote_theme in shipping/
uc_quote/ uc_quote.module - Implements hook_theme().
File
- shipping/
uc_quote/ uc_quote.theme.inc, line 22 - Theme functions for the uc_quote module.
Code
function theme_uc_cart_pane_quotes(array $variables) {
$form = $variables['form'];
$output = '<p class="quote-title">' . t('Estimated shipping cost:') . '</p>';
$output .= drupal_render_children($form);
return $output;
}