Allows other modules to remove breadcrumbs when this module is verifying if the given path should be excluded from the breadcrumb list.

This allows testing at each level of the breadcrumb build process (i.e. check /node, check /node/1234, check /node/1234/webform, etc.)

Parameters

bool $excluded | Delete if TRUE:

string $url | URL of the breadcrumb link:

1 invocation of hook_easy_breadcrumb_exclude_path_alter()
_easy_breadcrumb_check_excluded_path in ./easy_breadcrumb.module
Verifies if the given path should be exclude from the breadcrumb.

File

./easy_breadcrumb.api.php, line 48

Code

function hook_easy_breadcrumb_exclude_path_alter(&$excluded, $url) {
    if ($url == 'node/12345') {
        $excluded = TRUE;
    }
}