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
base field titles/ descriptions are currently not helpful, just an example:
$fields['uuid'] = BaseFieldDefinition::create('uuid')
->setLabel(t('UUID'))
->setDescription(t('The node UUID.'))
Proposed resolution
Improve the titles / descriptions.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2615558-1.patch | 1.28 KB | rakesh.gectcr |
Comments
Comment #2
rakesh.gectcrComment #3
rakesh.gectcrComment #4
dawehnerThis is not an improvement IMHO, ... the description should either add value or just be empty.
Comment #5
bojanz CreditAttribution: bojanz commentedWell it can't be empty because then you get "Error: missing help text" in Views :)
Most field descriptions in core and contrib are redundant and unneeded.
Comment #6
dawehnerWell, I think we could simply distinct between empty aka '' and empty aka not set.
Comment #18
smustgrave CreditAttribution: smustgrave at Mobomo commentedWonder if this is still needed?
Appears in #4 it was brought up as not needed and the error in #5 I don't see.
Comment #20
smustgrave CreditAttribution: smustgrave at Mobomo commentedSince there hasn't been a follow up going to close for now.
If still a valid task please reopen.
Thanks all