CommentBreadcrumbBuilder::__construct

public CommentBreadcrumbBuilder::__construct(EntityManagerInterface $entity_manager)

Constructs the CommentBreadcrumbBuilder.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/modules/comment/src/CommentBreadcrumbBuilder.php, line 31

Class

CommentBreadcrumbBuilder
Class to define the comment breadcrumb builder.

Namespace

Drupal\comment

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->storage = $entity_manager->getStorage('comment');
}
doc_Drupal
2016-10-29 08:50:31
Comments
Leave a Comment

Please login to continue.