Plugin definitions are documented as arrays, but they don't have to be. #2005716: Promote EntityType to a domain object introduced classed definitions for entity types, for instance. We can easily fix this by documenting the return values as mixed.

CommentFileSizeAuthor
#1 drupal_2170415_1.patch845 bytesXano
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xano’s picture

Assigned: Xano » Unassigned
Status: Active » Needs review
FileSize
845 bytes
jhodgdon’s picture

The documentation syntax is correct, but we need to get someone to OK the change's technical correctness.

jhodgdon’s picture

Status: Needs review » Fixed

I've learned more about this and agree with this change now. Committed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.