function CommentTypeDeleteForm::__construct

Same name in other branches
  1. 9 core/modules/comment/src/Form/CommentTypeDeleteForm.php \Drupal\comment\Form\CommentTypeDeleteForm::__construct()
  2. 10 core/modules/comment/src/Form/CommentTypeDeleteForm.php \Drupal\comment\Form\CommentTypeDeleteForm::__construct()
  3. 11.x core/modules/comment/src/Form/CommentTypeDeleteForm.php \Drupal\comment\Form\CommentTypeDeleteForm::__construct()

Constructs a query factory object.

Parameters

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

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

File

core/modules/comment/src/Form/CommentTypeDeleteForm.php, line 48

Class

CommentTypeDeleteForm
Provides a confirmation form for deleting a comment type entity.

Namespace

Drupal\comment\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.