Verified Commit f93e5f27 authored by Dave Long's avatar Dave Long
Browse files

Issue #3319948 by hodge-b, java008, Chi, quietone: Update documentation of...

Issue #3319948 by hodge-b, java008, Chi, quietone: Update documentation of PathBasedBreadcrumbBuilder

(cherry picked from commit 290dcfc1)
parent 1bca2d9b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@
use Symfony\Component\Routing\Matcher\RequestMatcherInterface;

/**
 * Class to define the menu_link breadcrumb builder.
 * Defines a class to build path-based breadcrumbs.
 *
 * @see \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface
 */
class PathBasedBreadcrumbBuilder implements BreadcrumbBuilderInterface {
  use StringTranslationTrait;
@@ -39,7 +41,7 @@ class PathBasedBreadcrumbBuilder implements BreadcrumbBuilderInterface {
  protected $context;

  /**
   * The menu link access service.
   * The access check service.
   *
   * @var \Drupal\Core\Access\AccessManagerInterface
   */
@@ -100,7 +102,7 @@ class PathBasedBreadcrumbBuilder implements BreadcrumbBuilderInterface {
   * @param \Drupal\Core\Routing\RequestContext $context
   *   The router request context.
   * @param \Drupal\Core\Access\AccessManagerInterface $access_manager
   *   The menu link access service.
   *   The access check service.
   * @param \Symfony\Component\Routing\Matcher\RequestMatcherInterface $router
   *   The dynamic router service.
   * @param \Drupal\Core\PathProcessor\InboundPathProcessorInterface $path_processor