Problem/Motivation
$list->getDataDefinition() has missing docs that tells you it's going to be a ListDataDefinitionInterface. Same for Complex Data and ComplexDataDefinitionInterface. That way IDE cannot auto-complete on that either.
Proposed resolution
Add it.
Remaining tasks
User interface changes
API changes
- (Method is already on parent, but without the right @return type)
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | d8_typed_data_interface_docs.patch | 1.32 KB | fago |
Comments
Comment #2
fagohere is a patch
Comment #3
fagoNote: This is no API change at all as the method already existing in the parent interface: TypedDataInterface.
Comment #4
gábor hojtsyLooks good :)
Comment #6
catchCommitted/pushed to 8.2.x and cherry-picked to 8.1.x and 8.0.x. Thanks!