If an exported variable has any line breaks in it, the code comment which Features Override adds to it spans multiple lines as well, so it will not be treated as a code comment.

This leads to a fatal error when the feature is enabled, because the file does not contain valid PHP.

CommentFileSizeAuthor
#1 features-override-1555942-1.patch859 bytesDavid_Rothstein
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David_Rothstein’s picture

Status: Active » Needs review
FileSize
859 bytes

Something like the attached should fix it.

mpotter’s picture

Status: Needs review » Fixed

Looks good. Committed and pushed to 613bcc1.

Status: Fixed » Closed (fixed)

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