function theme_shipping_service_admin_overview in Commerce Shipping 7.2
Builds an overview of a shipping service for display to an administrator.
Parameters
array $variables: An array of variables used to generate the display; by default includes the shipping_service key with a value of the shipping service info array.
1 theme call to theme_shipping_service_admin_overview()
- commerce_shipping_ui_overview in includes/
commerce_shipping_ui.admin.inc - Displays all shipping methods or services defined for a method in a table.
File
- includes/
commerce_shipping_ui.admin.inc, line 96 - Administrative page callbacks for the Shipping UI module.
Code
function theme_shipping_service_admin_overview($variables) {
$shipping_service = $variables['shipping_service'];
$output = check_plain($shipping_service['title']);
$output .= ' <small> (' . t('Machine name: @name', array(
'@name' => check_plain($shipping_service['name']),
)) . ')</small>';
$output .= '<div class="description">' . filter_xss_admin($shipping_service['description']) . '</div>';
return $output;
}