public function deploy_ui_plan::access in Deploy - Content Staging 7.3
Menu callback to determine if an operation is accessible.
This function enforces a basic access check on the configured perm string, and then additional checks as needed.
Parameters
$op: The 'op' of the menu item, which is defined by 'allowed operations' and embedded into the arguments in the menu item.
$item: If an op that works on an item, then the item object, otherwise NULL.
Return value
TRUE if the current user has access, FALSE if not.
Overrides ctools_export_ui::access
File
- modules/
deploy_ui/ plugins/ export_ui/ deploy_ui_plan.class.php, line 51 - Deploy UI for managing deployment plans.
Class
- deploy_ui_plan
- CTools Export UI class for deployment plans.
Code
public function access($op, $item) {
return deploy_access($op);
}