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.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | features-override-1555942-1.patch | 859 bytes | David_Rothstein |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedSomething like the attached should fix it.
Comment #2
mpotter CreditAttribution: mpotter commentedLooks good. Committed and pushed to 613bcc1.