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
1 2 3 4 5 | public function __construct(EntityManagerInterface $entity_manager , LoggerInterface $logger , CommentManagerInterface $comment_manager ) { $this ->entityManager = $entity_manager ; $this ->logger = $logger ; $this ->commentManager = $comment_manager ; } |
Please login to continue.