function context_breakpoint_execute in Context Breakpoint 7
Execute the context checks().
1 call to context_breakpoint_execute()
- context_breakpoint_init in ./
context_breakpoint.module - Implements hook_init().
File
- ./
context_breakpoint.module, line 186 - context_screenresolution.module Main module file.
Code
function context_breakpoint_execute() {
$plugin = context_get_plugin('condition', 'breakpoint');
if ($plugin) {
$plugin
->execute();
drupal_add_js(array(
'context_breakpoint' => $plugin
->getJSConfig(),
), 'setting');
}
}