function theme_customer_profile_type_admin_overview in Commerce Core 7
Builds an overview of a customer profile type for display to an administrator.
Parameters
$variables: An array of variables used to generate the display; by default includes the type key with a value of the profile type object.
1 theme call to theme_customer_profile_type_admin_overview()
- commerce_customer_ui_customer_profile_types_overview in modules/
customer/ includes/ commerce_customer_ui.profile_types.inc - Menu callback: display an overview of available types.
File
- modules/
customer/ includes/ commerce_customer_ui.profile_types.inc, line 56
Code
function theme_customer_profile_type_admin_overview($variables) {
$profile_type = $variables['profile_type'];
$output = check_plain($profile_type['name']);
$output .= ' <small>' . t('(Machine name: @type)', array(
'@type' => $profile_type['type'],
)) . '</small>';
$output .= '<div class="description">' . filter_xss_admin($profile_type['description']) . '</div>';
return $output;
}