This module restores an execute PHP code feature that was removed from the core Devel module. It allows developers to run PHP code directly through an administrative interface.
The Execute feature has been removed from the Devel module for Drupal 8 since version 2.0. This module re-adds back that feature as an external module. Hence the message "This project is not covered by Drupal’s security advisory policy".
Go to the "Execute PHP Code" page (/devel/php), either using the Admin Toolbar Tools module or using the Devel toolbar (see configuration section) or using the Devel menu.
There is also a block you can place on your page if needed.
Requirements
This module requires the following modules:
Configuration
The module has no settings or configuration.
Otherwise, it uses configuration from the Devel module:
- On Devel configuration page (/admin/config/development/devel), in "Variables Dumper", you can choose how the output will behave.
- On Devel toolbar configuration page (/admin/config/development/devel/toolbar), you can enable "Execute PHP" menu link.