public function SocialCommentLazyRenderer::__construct in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_comment/src/SocialCommentLazyRenderer.php \Drupal\social_comment\SocialCommentLazyRenderer::__construct()
- 10.0.x modules/social_features/social_comment/src/SocialCommentLazyRenderer.php \Drupal\social_comment\SocialCommentLazyRenderer::__construct()
- 10.1.x modules/social_features/social_comment/src/SocialCommentLazyRenderer.php \Drupal\social_comment\SocialCommentLazyRenderer::__construct()
- 10.2.x modules/social_features/social_comment/src/SocialCommentLazyRenderer.php \Drupal\social_comment\SocialCommentLazyRenderer::__construct()
SocialCommentLazyRenderer constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- modules/
social_features/ social_comment/ src/ SocialCommentLazyRenderer.php, line 56
Class
- SocialCommentLazyRenderer
- Render comments for the lazy builder.
Namespace
Drupal\social_commentCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, RouteMatchInterface $route_match, ModuleHandlerInterface $module_handler) {
$this->entityTypeManager = $entity_type_manager;
$this->routeMatch = $route_match;
$this->moduleHandler = $module_handler;
}