Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Sometimes you just want to execute some code inside a Drupal bootstrap. When /devel/php is missing your IDE integration in D7 you could easily implement hook_init and start writing. Now that hook_init isn't as easy to implement, simply install and look inside the module file:

/**
 * Run some code on every request.
 */
function playground_init() {

}

Project information

  • Created by Sam152 on , updated