function path_breadcrumbs_ui_enable_breadcrumbs_page in Path Breadcrumbs 7.2
Same name and namespace in other branches
- 7.3 path_breadcrumbs_ui/path_breadcrumbs_ui.pages.inc \path_breadcrumbs_ui_enable_breadcrumbs_page()
Enables path breadcrumb.
1 string reference to 'path_breadcrumbs_ui_enable_breadcrumbs_page'
- path_breadcrumbs_ui_menu in path_breadcrumbs_ui/
path_breadcrumbs_ui.module - Implements hook_menu().
File
- path_breadcrumbs_ui/
path_breadcrumbs_ui.pages.inc, line 162
Code
function path_breadcrumbs_ui_enable_breadcrumbs_page($path_breadcrumbs) {
// Update breadcrumb in database.
ctools_include('export');
ctools_export_crud_enable('path_breadcrumbs', $path_breadcrumbs);
cache_clear_all('path_breadcrumbs', 'cache', TRUE);
drupal_set_message(t('Breadcrumb %name was enabled', array(
'%name' => $path_breadcrumbs->name,
)));
drupal_goto('admin/structure/path-breadcrumbs');
}