Commit 12a6963f authored by alexpott's avatar alexpott

Issue #2720077 by rajeshwari10, Vinay15, snehi, gaurav.pahuja, Sonal.Sangale,...

Issue #2720077 by rajeshwari10, Vinay15, snehi, gaurav.pahuja, Sonal.Sangale, jhodgdon, joachim, klausi: EntityTypeBundleInfo::getBundleInfo() @return needs more detail
parent 472f3a57
...@@ -11,7 +11,10 @@ interface EntityTypeBundleInfoInterface { ...@@ -11,7 +11,10 @@ interface EntityTypeBundleInfoInterface {
* Get the bundle info of all entity types. * Get the bundle info of all entity types.
* *
* @return array * @return array
* An array of all bundle information. * 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.
*/ */
public function getAllBundleInfo(); public function getAllBundleInfo();
...@@ -22,7 +25,10 @@ public function getAllBundleInfo(); ...@@ -22,7 +25,10 @@ public function getAllBundleInfo();
* The entity type. * The entity type.
* *
* @return array * @return array
* Returns the bundle information for the specified entity type. * 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); public function getBundleInfo($entity_type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment