function theme_commerce_product_attributes_item_title in Commerce Product Attributes 7
1 theme call to theme_commerce_product_attributes_item_title()
- commerce_product_attributes_handler_field_attributes::render in includes/
views/ handlers/ commerce_product_attributes_handler_field_attributes.inc - Render the field.
File
- ./
commerce_product_attributes.module, line 84 - This module adds some improvements to the Drupal Commerce core.
Code
function theme_commerce_product_attributes_item_title($variables) {
$item = $variables['item'];
$path = $variables['path'];
$options = $variables['options'];
$create_link = $variables['create_link'];
$output = '<div class="line-item-title">';
if ($create_link && !empty($path)) {
$output .= l(commerce_line_item_title($item), $path, $options);
}
else {
$output .= commerce_line_item_title($item);
}
$output .= '</div>';
return $output;
}