public EntityTypeRepository::__construct(EntityTypeManagerInterface $entity_type_manager)
Constructs a new EntityTypeRepository.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- core/lib/Drupal/Core/Entity/EntityTypeRepository.php, line 38
Class
- EntityTypeRepository
- Provides helper methods for loading entity types.
Namespace
Drupal\Core\Entity
Code
public function __construct(EntityTypeManagerInterface $entity_type_manager) { $this->entityTypeManager = $entity_type_manager; }
Please login to continue.