function path_breadcrumbs_ui_disable_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_disable_breadcrumbs_page()
Disables path breadcrumb.
1 string reference to 'path_breadcrumbs_ui_disable_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 149
Code
function path_breadcrumbs_ui_disable_breadcrumbs_page($path_breadcrumbs) {
ctools_include('export');
ctools_export_crud_disable('path_breadcrumbs', $path_breadcrumbs);
cache_clear_all('path_breadcrumbs', 'cache', TRUE);
drupal_set_message(t('Breadcrumb %name was disabled', array(
'%name' => $path_breadcrumbs->name,
)));
drupal_goto('admin/structure/path-breadcrumbs');
}