public function ChainBreadcrumbBuilderInterface::addBuilder in Drupal 9
Same name and namespace in other branches
- 8 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 18
Class
- ChainBreadcrumbBuilderInterface
- Defines an interface a chained service that builds the breadcrumb.
Namespace
Drupal\Core\BreadcrumbCode
public function addBuilder(BreadcrumbBuilderInterface $builder, $priority);