public function PhotosBreadcrumbBuilder::__construct in Album Photos 8.4
Constructs the PathBasedBreadcrumbBuilder.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Routing\RequestContext $context: The router request context.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager service.
File
- src/PhotosBreadcrumbBuilder.php, line 51 
Class
- PhotosBreadcrumbBuilder
- Photos breadcrumb builder.
Namespace
Drupal\photosCode
public function __construct(Connection $connection, RequestContext $context, EntityTypeManagerInterface $entity_manager) {
  $this->connection = $connection;
  $this->context = $context;
  $this->entityTypeManager = $entity_manager;
}