API page: https://api.drupal.org/api/drupal/includes%21common.inc/function/entity_...

The api page for this call does not have a Returns entry

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andrei.dincu’s picture

Status: Active » Needs review
FileSize
523 bytes

@return
* An array of an entity type.

Status: Needs review » Needs work

The last submitted patch, 1: 2235969-1.patch, failed testing.

Rajendar Reddy’s picture

Status: Needs work » Needs review
FileSize
474 bytes

Rerolling the patch. Please review.

jhodgdon’s picture

Status: Needs review » Needs work
+ * @return
+ *   An array of an entity type.
+ *

Ummmm... This doesn't really tell me anything useful, and it's a bit confusing?

andrei.dincu’s picture

Status: Needs work » Needs review
FileSize
542 bytes

Added extra info for return value.

jhodgdon’s picture

Status: Needs review » Needs work

OK, that's better! But it's information about an entity *type*, not an entity, right? And we should probably document that if it's all types, what the array keys are, etc.