public function ChainBreadcrumbBuilderInterface::addBuilder in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface::addBuilder()
Adds another breadcrumb builder.
Parameters
\Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface $builder: The breadcrumb builder to add.
int $priority: Priority of the breadcrumb builder.
1 method overrides ChainBreadcrumbBuilderInterface::addBuilder()
- BreadcrumbManager::addBuilder in core/
lib/ Drupal/ Core/ Breadcrumb/ BreadcrumbManager.php - Adds another breadcrumb builder.
File
- core/
lib/ Drupal/ Core/ Breadcrumb/ ChainBreadcrumbBuilderInterface.php, line 23 - Contains \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface.
Class
- ChainBreadcrumbBuilderInterface
- Defines an interface a chained service that builds the breadcrumb.
Namespace
Drupal\Core\BreadcrumbCode
public function addBuilder(BreadcrumbBuilderInterface $builder, $priority);