BreadcrumbBuilderInterface::applies

public BreadcrumbBuilderInterface::applies(RouteMatchInterface $route_match)

Whether this breadcrumb builder should be used to build the breadcrumb.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

Return value

bool TRUE if this builder should be used or FALSE to let other builders decide.

File

core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php, line 22

Class

BreadcrumbBuilderInterface
Defines an interface for classes that build breadcrumbs.

Namespace

Drupal\Core\Breadcrumb

Code

public function applies(RouteMatchInterface $route_match);
doc_Drupal
2016-10-29 08:48:42
Comments
Leave a Comment

Please login to continue.