Provides an interface for helper methods for loading entity types.
Hierarchy
- interface \Drupal\Core\Entity\EntityTypeRepositoryInterface
File
- core/lib/Drupal/Core/Entity/EntityTypeRepositoryInterface.php, line 8
Namespace
Drupal\Core\Entity
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityTypeRepositoryInterface::clearCachedDefinitions Deprecated | public | function | Clear the static cache. |
EntityTypeRepositoryInterface::getEntityTypeFromClass | public | function | Gets the entity type ID based on the class that is called on. |
EntityTypeRepositoryInterface::getEntityTypeLabels | public | function | Builds a list of entity type labels suitable for a Form API options list. |
Please login to continue.