function opigno_context_view_context in Opigno 7.0
1 call to opigno_context_view_context()
- opigno_context in modules/
opigno_context/ opigno_context.module
File
- modules/
opigno_context/ opigno_context.module, line 143 - Contains all hook_implementations and module specific API.
Code
function opigno_context_view_context($path_scheme) {
if (in_array($path_scheme, array(
'course/%/glossaries',
'course/%/wiki-page',
))) {
return 'og:' . arg(1);
}
else {
return 'view';
}
}