function domaincontext_init in Domain Context 7
Same name and namespace in other branches
- 6 domaincontext.module \domaincontext_init()
Implements hook_init().
File
- ./
domaincontext.module, line 54 - Provides a Domain condition plugin for the Context module.
Code
function domaincontext_init() {
if ($plugin = context_get_plugin('condition', 'domain')) {
$plugin
->execute();
}
}