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.
There is yet another inconsistency in the way variable prefixes are handled in functional content. Related to this patch: #2824265: Fixing inconsistent variable name prefixes.
When a hook_functional_content() implementation defines a variable without prefix, then you request the value of that variable with prefix, functional_content thinks it does not exists and throws an exception.
Comment | File | Size | Author |
---|---|---|---|
#3 | dvg-functional_content_var_prefix_inconsistency-3090069-3.patch | 708 bytes | paulvandenburg |
Comments
Comment #2
paulvandenburg CreditAttribution: paulvandenburg at iO commentedUse the new 19 patch from the linked issue.
Comment #3
paulvandenburg CreditAttribution: paulvandenburg at iO commentedFixed some issues in the linked patch.
Comment #4
TVoesenek CreditAttribution: TVoesenek at iO commentedLooks good to me.
Comment #6
paulvandenburg CreditAttribution: paulvandenburg at iO commented