Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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!