public function CommentTypeDeleteForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/src/Form/CommentTypeDeleteForm.php \Drupal\comment\Form\CommentTypeDeleteForm::__construct()
Constructs a query factory object.
Parameters
\Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query object.
\Drupal\comment\CommentManagerInterface $comment_manager: The comment manager service.
\Drupal\Core\Entity\EntityManager $entity_manager: The entity manager service.
\Psr\Log\LoggerInterface $logger: A logger instance.
File
- core/
modules/ comment/ src/ Form/ CommentTypeDeleteForm.php, line 71 - Contains \Drupal\comment\Form\CommentTypeDeleteForm.
Class
- CommentTypeDeleteForm
- Provides a confirmation form for deleting a comment type entity.
Namespace
Drupal\comment\FormCode
public function __construct(QueryFactory $query_factory, CommentManagerInterface $comment_manager, EntityManager $entity_manager, LoggerInterface $logger) {
$this->queryFactory = $query_factory;
$this->commentManager = $comment_manager;
$this->entityManager = $entity_manager;
$this->logger = $logger;
}