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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

paulvandenburg created an issue. See original summary.

paulvandenburg’s picture

Status: Active » Needs review
FileSize
708 bytes

Use the new 19 patch from the linked issue.

paulvandenburg’s picture

Fixed some issues in the linked patch.

TVoesenek’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me.

paulvandenburg’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.