function context_error_context_page_condition in Context error 7
Same name and namespace in other branches
- 6 context_error.module \context_error_context_page_condition()
Implements of hook_context_page_condition().
File
- ./
context_error.module, line 40 - Implement triggers for 404 and 403 pages.
Code
function context_error_context_page_condition() {
if ($plugin = context_get_plugin('condition', 'error')) {
$plugin
->execute();
}
}