You are here

interface ChainBreadcrumbBuilderInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface

Defines an interface a chained service that builds the breadcrumb.

Hierarchy

Expanded class hierarchy of ChainBreadcrumbBuilderInterface

All classes that implement ChainBreadcrumbBuilderInterface

File

core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php, line 13
Contains \Drupal\Core\Breadcrumb\ChainBreadcrumbBuilderInterface.

Namespace

Drupal\Core\Breadcrumb
View 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

Namesort descending Modifiers Type Description Overrides
BreadcrumbBuilderInterface::applies public function Whether this breadcrumb builder should be used to build the breadcrumb. 7
BreadcrumbBuilderInterface::build public function Builds the breadcrumb. 6
ChainBreadcrumbBuilderInterface::addBuilder public function Adds another breadcrumb builder. 1