function _ds_ui_menu_access in Display Suite 6
Same name and namespace in other branches
- 6.3 ds_ui.module \_ds_ui_menu_access()
- 6.2 ds_ui.module \_ds_ui_menu_access()
Helper function to check access.
Parameters
string $perm_1 a permission.:
string $perm_2 a permission.:
1 string reference to '_ds_ui_menu_access'
- _ds_ui_menu in includes/
ds.registry.inc - Return menu items and import default settings.
File
- ./
ds_ui.module, line 38 - Administrative interface to display suite.
Code
function _ds_ui_menu_access($perm_1, $perm_2) {
if (user_access($perm_1) && user_access($perm_2)) {
return TRUE;
}
return FALSE;
}