function environment_init in Environment 6
Implementation of hook_init().
File
- ./
environment.module, line 18
Code
function environment_init() {
// Trigger environment context condition.
if (module_exists('context') && function_exists('context_get_plugin') && ($plugin = context_get_plugin('condition', 'environment'))) {
$plugin
->execute((array) variable_get('environment', array()));
}
}