ChainBreadcrumbBuilderInterface::addBuilder

public ChainBreadcrumbBuilderInterface::addBuilder(BreadcrumbBuilderInterface $builder, $priority)

Adds another breadcrumb builder.

Parameters

\Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface $builder: The breadcrumb builder to add.

int $priority: Priority of the breadcrumb builder.

File

core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php, line 18

Class

ChainBreadcrumbBuilderInterface
Defines an interface a chained service that builds the breadcrumb.

Namespace

Drupal\Core\Breadcrumb

Code

public function addBuilder(BreadcrumbBuilderInterface $builder, $priority);
doc_Drupal
2016-10-29 08:49:40
Comments
Leave a Comment

Please login to continue.