public function CommentBreadcrumbBuilder::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/CommentBreadcrumbBuilder.php \Drupal\comment\CommentBreadcrumbBuilder::__construct()
- 9 core/modules/comment/src/CommentBreadcrumbBuilder.php \Drupal\comment\CommentBreadcrumbBuilder::__construct()
Constructs the CommentBreadcrumbBuilder.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/
modules/ comment/ src/ CommentBreadcrumbBuilder.php, line 31
Class
- CommentBreadcrumbBuilder
- Class to define the comment breadcrumb builder.
Namespace
Drupal\commentCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}