CommentTypeForm::__construct

public CommentTypeForm::__construct(EntityManagerInterface $entity_manager, LoggerInterface $logger, CommentManagerInterface $comment_manager)

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 60

Class

CommentTypeForm
Base form handler for comment type 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;
}
doc_Drupal
2016-10-29 08:51:18
Comments
Leave a Comment

Please login to continue.