interface EntityTypeBundleInfoInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php \Drupal\Core\Entity\EntityTypeBundleInfoInterface
Provides an interface for an entity type bundle info.
Hierarchy
- interface \Drupal\Core\Entity\EntityTypeBundleInfoInterface
Expanded class hierarchy of EntityTypeBundleInfoInterface
All classes that implement EntityTypeBundleInfoInterface
2 files declare their use of EntityTypeBundleInfoInterface
- EntityFieldManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php - Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest.
- EntityManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityManagerTest.php - Contains \Drupal\Tests\Core\Entity\EntityManagerTest.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityTypeBundleInfoInterface.php, line 13 - Contains \Drupal\Core\Entity\EntityTypeBundleInfoInterface.
Namespace
Drupal\Core\EntityView source
interface EntityTypeBundleInfoInterface {
/**
* Get the bundle info of all entity types.
*
* @return array
* An array of all bundle information.
*/
public function getAllBundleInfo();
/**
* Gets the bundle info of an entity type.
*
* @param string $entity_type
* The entity type.
*
* @return array
* Returns the bundle information for the specified entity type.
*/
public function getBundleInfo($entity_type);
/**
* Clears static and persistent bundles.
*/
public function clearCachedBundles();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityTypeBundleInfoInterface:: |
public | function | Clears static and persistent bundles. | 2 |
EntityTypeBundleInfoInterface:: |
public | function | Get the bundle info of all entity types. | 2 |
EntityTypeBundleInfoInterface:: |
public | function | Gets the bundle info of an entity type. | 2 |