public CommentAdminOverview::__construct(EntityManagerInterface $entity_manager, CommentStorageInterface $comment_storage, DateFormatterInterface $date_formatter, ModuleHandlerInterface $module_handler)
Creates a CommentAdminOverview form.
Parameters
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service.
\Drupal\comment\CommentStorageInterface $comment_storage: The comment storage.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- core/modules/comment/src/Form/CommentAdminOverview.php, line 60
Class
- CommentAdminOverview
- Provides the comments overview administration form.
Namespace
Drupal\comment\Form
Code
public function __construct(EntityManagerInterface $entity_manager, CommentStorageInterface $comment_storage, DateFormatterInterface $date_formatter, ModuleHandlerInterface $module_handler) { $this->entityManager = $entity_manager; $this->commentStorage = $comment_storage; $this->dateFormatter = $date_formatter; $this->moduleHandler = $module_handler; }
Please login to continue.