EntityTypeRepository::__construct

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;
}
doc_Drupal
2016-10-29 09:08:41
Comments
Leave a Comment

Please login to continue.