function skinr_access_handler in Skinr 6.2
Same name and namespace in other branches
- 6 includes/handlers.inc \skinr_access_handler()
1 call to skinr_access_handler()
- views_skinr_access_handler_display in modules/
views.skinr.inc - Skinr access handler.
1 string reference to 'skinr_access_handler'
- _skinr_fetch_config_defaults in ./
skinr.module - Fetch default configuration data for modules.
File
- ./
skinr.handlers.inc, line 21 - Defines the various handler objects to support Skinr.
Code
function skinr_access_handler($op, &$form, $form_state) {
switch ($op) {
case 'access skinr':
return user_access('access skinr') || user_access('administer skinr');
case 'access skinr classes':
return user_access('access skinr classes') || user_access('administer skinr');
}
}