You are here

public function CommentTypeForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/CommentTypeForm.php \Drupal\comment\CommentTypeForm::__construct()

Constructs a CommentTypeFormController

Parameters

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

\Psr\Log\LoggerInterface $logger: A logger instance.

\Drupal\comment\CommentManagerInterface $comment_manager: The comment manager.

File

core/modules/comment/src/CommentTypeForm.php, line 65
Contains \Drupal\comment\CommentTypeForm.

Class

CommentTypeForm
Base form controller for category edit forms.

Namespace

Drupal\comment

Code

public function __construct(EntityManagerInterface $entity_manager, LoggerInterface $logger, CommentManagerInterface $comment_manager) {
  $this->entityManager = $entity_manager;
  $this->logger = $logger;
  $this->commentManager = $comment_manager;
}