interface EntityTypeRepositoryInterface
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\EntityMembers
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityTypeRepositoryInterface.php/interface/EntityTypeRepositoryInterface/8.1.x