Feedback needed: Should .info files support arbitrary PHP constants?

cweagans's picture

One of the nice things about our current .info file format is that any PHP constant can be added to the file and our parser function will substitute the correct value. I have created a patch to convert all .info files to YAML, but the additional effort required to make arbitrary PHP constants work seems like it's not worth it.

Right now, the patch supports substituting the VERSION constant but only that one because core uses it.

Feedback on this issue (and the rest of the patch) would be much appreciated.

Core

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: