function context_user in Context 6.3
Same name and namespace in other branches
- 6 context.core.inc \context_user()
- 6.2 context.core.inc \context_user()
Implementation of hook_user().
File
- ./
context.core.inc, line 217
Code
function context_user($op, &$edit, &$account, $category = NULL) {
if (in_array($op, array(
'view',
'form',
'register',
))) {
if ($plugin = context_get_plugin('condition', 'user_page')) {
$plugin
->execute($account, $op);
}
}
}