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.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2921249-3.patch | 474 bytes | geertvd |
Comment | File | Size | Author |
---|---|---|---|
#3 | 2921249-3.patch | 474 bytes | geertvd |
Comments
Comment #2
geertvd CreditAttribution: geertvd at Geert van Dort commentedOgMenuInstance
sets the language property to configurable which causes a dependency on the language module, when to language module is not enabled I get the following error:Comment #3
geertvd CreditAttribution: geertvd at Geert van Dort commentedRemoving
setDisplayConfigurable('form', TRUE)
from the base field definition fixes it for me.I
language_entity_base_field_info_alter()
would take care of setting that toTRUE
anyway if language module is enabled.Comment #4
geertvd CreditAttribution: geertvd at Geert van Dort commentedComment #5
pfrenssenThis makes sense, it is also consistent with how the language field is defined in
ContentEntityBase::baseFieldDefinitions()
.I'll check if the patch still applies and still fixes the failure in the current HEAD. If this succeeds this is good to go for me.
Comment #7
pfrenssenThe patch still applies and the failure is fixed. Thanks!