public EntityTypeBundleInfoInterface::getBundleInfo($entity_type)
Gets the bundle info of an entity type.
string $entity_type: The entity type.
array An array of bundle information where the outer array is keyed by the bundle name, or the entity type name if the entity does not have bundles. The inner arrays are associative arrays of bundle information, such as the label for the bundle.
public function getBundleInfo($entity_type);
© 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::getBundleInfo/8.1.x