public function CommentBreadcrumbBuilder::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/src/CommentBreadcrumbBuilder.php \Drupal\comment\CommentBreadcrumbBuilder::__construct()
Constructs the CommentBreadcrumbBuilder.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
File
- core/
modules/ comment/ src/ CommentBreadcrumbBuilder.php, line 36 - Contains \Drupal\comment\CommentBreadcrumbBuilder.
Class
- CommentBreadcrumbBuilder
- Class to define the comment breadcrumb builder.
Namespace
Drupal\commentCode
public function __construct(EntityManagerInterface $entity_manager) {
$this->storage = $entity_manager
->getStorage('comment');
}