function commerce_price_components_get_components in Commerce price by components 7
1 string reference to 'commerce_price_components_get_components'
File
- ./
commerce_price_components.module, line 196 - Module file for Price by components.
Code
function commerce_price_components_get_components($data, array $options, $name, $type, $info) {
if (isset($name)) {
$component = commerce_price_component_load($data, $name);
if (!empty($component)) {
return $component;
}
}
return FALSE;
}