EntityTypeBundleInfoInterface.php in Zircon Profile 8.0
Same filename and directory in other branches
Namespace
Drupal\Core\EntityFile
core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\Core\Entity\EntityTypeBundleInfoInterface.
*/
namespace Drupal\Core\Entity;
/**
* Provides an interface for an entity type bundle info.
*/
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();
}
Interfaces
Name | Description |
---|---|
EntityTypeBundleInfoInterface | Provides an interface for an entity type bundle info. |