function commerce_cp_settings_title in Commerce Cart Pane 7
Return the title of a cart pane settings form page.
Parameters
$cart_pane: The cart pane object represented on the settings form.
1 string reference to 'commerce_cp_settings_title'
- commerce_cp_menu in ./
commerce_cp.module - Implements hook_menu().
File
- ./
commerce_cp.admin.inc, line 200 - Administrative callbacks for the Checkout module.
Code
function commerce_cp_settings_title($cart_pane) {
$panes = module_invoke_all('commerce_cp_info');
if (isset($panes[$cart_pane])) {
return t("'!pane' cart pane", array(
'!pane' => $panes[$cart_pane]['name'],
));
}
return '';
}