public function EntityWarmer::setEntityTypeManager in Warmer 2.x
Same name and namespace in other branches
- 8 modules/warmer_entity/src/Plugin/warmer/EntityWarmer.php \Drupal\warmer_entity\Plugin\warmer\EntityWarmer::setEntityTypeManager()
Injects the entity type manager.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- modules/
warmer_entity/ src/ Plugin/ warmer/ EntityWarmer.php, line 65
Class
- EntityWarmer
- The cache warmer for the built-in entity cache.
Namespace
Drupal\warmer_entity\Plugin\warmerCode
public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}