ChainBreadcrumbBuilderInterface.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php
  2. 10 core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php
  3. 11.x core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php

Namespace

Drupal\Core\Breadcrumb

File

core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php

View source
<?php

namespace Drupal\Core\Breadcrumb;


/**
 * Defines an interface a chained service that builds the breadcrumb.
 */
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);

}

Interfaces

Title Deprecated Summary
ChainBreadcrumbBuilderInterface Defines an interface a chained service that builds the breadcrumb.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.