protected function BreadcrumbManagerBuilder::isExcludedPath in Breadcrumb Manager 8
Checks if the given path is excluded.
Parameters
string $path: The path to be checked.
Return value
bool A boolean indicating if the given path is excluded.
2 calls to BreadcrumbManagerBuilder::isExcludedPath()
- BreadcrumbManagerBuilder::applies in src/
Breadcrumb/ BreadcrumbManagerBuilder.php - Whether this breadcrumb builder should be used to build the breadcrumb.
- BreadcrumbManagerBuilder::getRequestForPath in src/
Breadcrumb/ BreadcrumbManagerBuilder.php - Matches a path in the router.
File
- src/
Breadcrumb/ BreadcrumbManagerBuilder.php, line 235
Class
- BreadcrumbManagerBuilder
- Class BreadcrumbManagerBuilder.
Namespace
Drupal\breadcrumb_manager\BreadcrumbCode
protected function isExcludedPath($path) {
$excluded = implode("\n", $this
->getExcludedPaths());
return $this->pathMatcher
->matchPath($path, $excluded);
}