W3cubDocs

/Drupal 8

public function EntityTypeBundleInfoInterface::getAllBundleInfo

public 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();

© 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!EntityTypeBundleInfoInterface.php/function/EntityTypeBundleInfoInterface::getAllBundleInfo/8.1.x