diff --git a/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php b/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php index ec587a3..d38449c 100644 --- a/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php +++ b/core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php @@ -70,7 +70,6 @@ public function addBuilder(BreadcrumbBuilderInterface $builder, $priority) { public function build(array $attributes) { $breadcrumb = array(); $context = array('builder' => NULL); - $successful_builder = NULL; // Call the build method of registered breadcrumb builders, // until one of them returns an array. foreach ($this->getSortedBuilders() as $builder) { diff --git a/core/modules/system/lib/Drupal/system/PathBasedBreadcrumbBuilder.php b/core/modules/system/lib/Drupal/system/PathBasedBreadcrumbBuilder.php index 64e850f..1ec5059 100644 --- a/core/modules/system/lib/Drupal/system/PathBasedBreadcrumbBuilder.php +++ b/core/modules/system/lib/Drupal/system/PathBasedBreadcrumbBuilder.php @@ -83,7 +83,7 @@ class PathBasedBreadcrumbBuilder implements BreadcrumbBuilderInterface { protected $config; /** - * Constructs the MenuLinkBreadcrumbBuilder. + * Constructs the PathBasedBreadcrumbBuilder. * * @param \Symfony\Component\HttpFoundation\Request $request * The current Request object. @@ -160,7 +160,7 @@ public function build(array $attributes) { if (!$title) { $title = str_replace(array('-', '_'), ' ', Unicode::ucfirst(end($path_elements))); } - // @todo Replace with a #type => link render element or using the link + // @todo Replace with a #type => link render element or use the link // generator. $links[] = l($title, $route_request->attributes->get('_system_path')); }