function ChainBreadcrumbBuilderInterface::addBuilder
Same name in other branches
- 9 core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface::addBuilder()
- 8.9.x core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface::addBuilder()
- 10 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
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\BreadcrumbCode
public function addBuilder(BreadcrumbBuilderInterface $builder, $priority);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.