diff --git a/core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php b/core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php index ecb7c44..95170de 100644 --- a/core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php @@ -22,7 +22,9 @@ public function getAllBundleInfo(); * The entity type. * * @return array - * Returns an array of bundle information of an entity type. + * Returns an array of bundle information for an entity type. + * Format $bundles[BUNDLE_TYPE][ID] => [LABEL] + * Example: $bundles['comment']['label'] */ public function getBundleInfo($entity_type);