You are here

function domaincontext_init in Domain Context 6

Same name and namespace in other branches
  1. 7 domaincontext.module \domaincontext_init()

Implements hook_init().

File

./domaincontext.module, line 55
Provides a Domain condition plugin for the Context module.

Code

function domaincontext_init() {
  if ($plugin = context_get_plugin('condition', 'domain')) {
    $plugin
      ->execute();
  }
}