Context PHP

Categories

Component ID

741402

Component name

Context PHP

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

14284

Component created

Component changed

Component body

This module adds the possibility to evaluate PHP code as a Context condition and execute PHP code as Context reaction.

Notes

Note that module only should be used in rare cases where a custom condition module doesn't make sense. Keeping code out of the database is always best practice! Also note that giving users the possibility to administer contexts is also giving them the possibility to execute PHP code. When conndition or reaction PHP code throws Fatal Error the only way to solve this is to edit context data directly in DB and flush cache (clear cache tables if cache backend is DB). So use this module with caution!

Dependencies

Credits

The module is originally created by vgarvardt and is maintained by dixon_ from NodeOne.