function _crumbs_admin_display_submit_flush_cache in Crumbs, the Breadcrumbs suite 7.2
Additional submit handler for crumbs_admin_display_form, that will flush the crumbs-related caches.
Parameters
array $form:
1 string reference to '_crumbs_admin_display_submit_flush_cache'
- crumbs_admin_display_form in admin/
crumbs.admin.inc - The form displayed on admin/structure/crumbs/display
File
- admin/
crumbs.admin.inc, line 237
Code
function _crumbs_admin_display_submit_flush_cache($form) {
_crumbs_admin_flush_cache();
// Check if the theme registry needs rebuild.
if (_crumbs_admin_display_submit_checkboxes_changed($form['theme_override_settings']['crumbs_override_theme_breadcrumb'])) {
// Flush theme registry.
// See _admin_menu_flush_cache() in admin_menu module.
system_rebuild_theme_data();
drupal_theme_rebuild();
}
}