function theme_custom_breadcrumbs_help_identifiers in Custom Breadcrumbs 6.2
Same name and namespace in other branches
- 6 custom_breadcrumbs.module \theme_custom_breadcrumbs_help_identifiers()
- 7.2 custom_breadcrumbs.module \theme_custom_breadcrumbs_help_identifiers()
- 7 custom_breadcrumbs.module \theme_custom_breadcrumbs_help_identifiers()
Builds a table of identifiers and their behaviors.
2 theme calls to theme_custom_breadcrumbs_help_identifiers()
- custom_breadcrumbs_common_form_elements in ./
custom_breadcrumbs.admin.inc - Provides form elements commonly used by custom breadcrumbs submodules.
- custom_breadcrumbs_help in ./
custom_breadcrumbs.module - Implements hook_help().
File
- ./
custom_breadcrumbs.module, line 644 - Provide custom breadcrumbs for node-type pages and base functionality for submodules to add custom breadcrumbs for other types of pages.
Code
function theme_custom_breadcrumbs_help_identifiers() {
$identifiers = module_invoke_all('cb_identifier_list');
$headers = array(
t('Identifier'),
t('Behaviour'),
);
$rows = array();
if (!empty($identifiers)) {
foreach ($identifiers as $id => $description) {
$rows[] = array(
check_plain($id),
$description,
);
}
}
else {
$rows[] = array(
array(
'data' => t('No special identifiers have been defined. You must <a href="@link">enable the custom breadcrumbs identifiers module</a> or another module that implements hook_cb_identifier_list and hook_cb_identifier_values to enable this feature.', array(
'@link' => url('admin/build/modules'),
)),
'colspan' => 2,
),
);
}
return theme('table', $headers, $rows, array(
'class' => 'description',
));
}