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.
Over in #2277945: Typed configuration implements TypedDataInterface improperly we changed TypedConfig to work with DataDefinition objects which means we can use it's methods in ElementInterface::getFormElement() implementations.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2291721.1.patch | 2.53 KB | alexpott |
Comments
Comment #1
alexpottComment #2
Gábor HojtsyAre there other $definition['s in the config code we can get rid of? :)
Comment #3
alexpottI had a look couldn't get anywhere else that the new DataDefinition objects methods can/should be used.
Comment #4
Gábor HojtsyGood with me then :)
Comment #5
Jose Reyero CreditAttribution: Jose Reyero commentedRelated if not the same (at a different level)
#2225961: Introduce "controlled" setters on FieldDefinitionInterface to avoid special-casing FieldDefinition
Comment #6
catchCommitted/pushed to 8.x, thanks!