function webform_protected_downloads_menu_alter in Webform Protected Downloads 7
Same name and namespace in other branches
- 6 webform_protected_downloads.module \webform_protected_downloads_menu_alter()
Implementation of hook_menu_alter().
Parameters
array $items:
Return value
void
File
- ./
webform_protected_downloads.module, line 263 - This file contains hook declarations and functions for the Webform Protected Downloads module.
Code
function webform_protected_downloads_menu_alter(&$items) {
$item =& $items['node/%webform_menu/webform/components/%webform_menu_component/delete'];
$item['access callback'] = 'webform_protected_downloads_component_delete_access';
$item['access arguments'] = array(
'update',
1,
4,
);
}