public function PollPostRenderCache::__construct in Poll 8
Constructs a new PollPostRenderCache object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
File
- src/
PollPostRenderCache.php, line 26
Class
- PollPostRenderCache
- Defines a service for poll post render cache callbacks.
Namespace
Drupal\pollCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}