interface ChainBreadcrumbBuilderInterface
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface
- 10 core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface
- 11.x core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface
Defines an interface a chained service that builds the breadcrumb.
Hierarchy
- interface \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface
- interface \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface extends \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface
Expanded class hierarchy of ChainBreadcrumbBuilderInterface
All classes that implement ChainBreadcrumbBuilderInterface
File
-
core/
lib/ Drupal/ Core/ Breadcrumb/ ChainBreadcrumbBuilderInterface.php, line 8
Namespace
Drupal\Core\BreadcrumbView source
interface ChainBreadcrumbBuilderInterface extends BreadcrumbBuilderInterface {
/**
* Adds another breadcrumb builder.
*
* @param \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface $builder
* The breadcrumb builder to add.
* @param int $priority
* Priority of the breadcrumb builder.
*/
public function addBuilder(BreadcrumbBuilderInterface $builder, $priority);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
BreadcrumbBuilderInterface::applies | public | function | Whether this breadcrumb builder should be used to build the breadcrumb. | 8 |
BreadcrumbBuilderInterface::build | public | function | Builds the breadcrumb. | 7 |
ChainBreadcrumbBuilderInterface::addBuilder | public | function | Adds another breadcrumb builder. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.