Provides discovery and retrieval of entity type bundles.
Hierarchy
- class \Drupal\Core\Entity\EntityTypeBundleInfo implements EntityTypeBundleInfoInterface uses UseCacheBackendTrait
File
- core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php, line 15
Namespace
Drupal\Core\Entity
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityTypeBundleInfo::$bundleInfo | protected | property | Static cache of bundle information. |
EntityTypeBundleInfo::$entityTypeManager | protected | property | The entity type manager. |
EntityTypeBundleInfo::$languageManager | protected | property | The language manager. |
EntityTypeBundleInfo::$moduleHandler | protected | property | The module handler. |
EntityTypeBundleInfo::$typedDataManager | protected | property | The typed data manager. |
EntityTypeBundleInfo::clearCachedBundles | public | function | Clears static and persistent bundles. Overrides EntityTypeBundleInfoInterface::clearCachedBundles |
EntityTypeBundleInfo::getAllBundleInfo | public | function | Get the bundle info of all entity types. Overrides EntityTypeBundleInfoInterface::getAllBundleInfo |
EntityTypeBundleInfo::getBundleInfo | public | function | Gets the bundle info of an entity type. Overrides EntityTypeBundleInfoInterface::getBundleInfo |
EntityTypeBundleInfo::__construct | public | function | Constructs a new EntityTypeBundleInfo. |
UseCacheBackendTrait::$cacheBackend | protected | property | Cache backend instance. |
UseCacheBackendTrait::$useCaches | protected | property | Flag whether caches should be used or skipped. |
UseCacheBackendTrait::cacheGet | protected | function | Fetches from the cache backend, respecting the use caches flag. |
UseCacheBackendTrait::cacheSet | protected | function | Stores data in the persistent cache, respecting the use caches flag. |
Please login to continue.