public function EntityTypeBundleInfoInterface::getBundleInfo in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getBundleInfo()
Gets the bundle info of an entity type.
Parameters
string $entity_type: The entity type.
Return value
array Returns the bundle information for the specified entity type.
2 methods override EntityTypeBundleInfoInterface::getBundleInfo()
- EntityManager::getBundleInfo in core/
lib/ Drupal/ Core/ Entity/ EntityManager.php - EntityTypeBundleInfo::getBundleInfo in core/
lib/ Drupal/ Core/ Entity/ EntityTypeBundleInfo.php - Gets the bundle info of an entity type.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityTypeBundleInfoInterface.php, line 32 - Contains \Drupal\Core\Entity\EntityTypeBundleInfoInterface.
Class
- EntityTypeBundleInfoInterface
- Provides an interface for an entity type bundle info.
Namespace
Drupal\Core\EntityCode
public function getBundleInfo($entity_type);