protected function crumbs_CurrentPageInfo::breadcrumbSuppressed in Crumbs, the Breadcrumbs suite 7.2
Check if the breadcrumb is to be suppressed altogether.
Return value
bool
See also
crumbs_CurrentPageInfo::$breadcrumbSuppressed
File
- lib/
CurrentPageInfo.php, line 69
Class
- crumbs_CurrentPageInfo
- Creates various data related to the current page.
Code
protected function breadcrumbSuppressed() {
// @todo Make this work!
return FALSE;
$existing_breadcrumb = drupal_get_breadcrumb();
// If the existing breadcrumb is empty, that means a module has
// intentionally removed it. Honor that, and stop here.
return empty($existing_breadcrumb);
}