public CommentTypeDeleteForm::__construct(QueryFactory $query_factory, CommentManagerInterface $comment_manager, EntityManager $entity_manager, LoggerInterface $logger)
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 66
Class
- CommentTypeDeleteForm
- Provides a confirmation form for deleting a comment type entity.
Namespace
Drupal\comment\Form
Code
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; }
Please login to continue.