function EntityTypeBundleInfoInterface::getAllBundleInfo

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getAllBundleInfo()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getAllBundleInfo()
  3. 11.x core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getAllBundleInfo()

Get the bundle info of all entity types.

Return value

array An array of bundle information where the outer array is keyed by entity type. The next level is keyed by the bundle name. The inner arrays are associative arrays of bundle information, such as the label for the bundle.

File

core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php, line 19

Class

EntityTypeBundleInfoInterface
Provides an interface for an entity type bundle info.

Namespace

Drupal\Core\Entity

Code

public function getAllBundleInfo();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.