class EntityTypeBundleInfo

Provides discovery and retrieval of entity type bundles.

Hierarchy

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.

© 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!EntityTypeBundleInfo.php/class/EntityTypeBundleInfo/8.1.x