W3cubDocs

/Drupal 8

public function 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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Breadcrumb!BreadcrumbBuilderInterface.php/function/BreadcrumbBuilderInterface::applies/8.1.x