function imce_dir_man_menu in IMCE Tools 7
Same name and namespace in other branches
- 6 imce_dir_man/imce_dir_man.module \imce_dir_man_menu()
hook menu
File
- imce_dir_man/
imce_dir_man.module, line 13 - imce_dir_man.module provides functions for managing configuration determining what the imce_dir_man_path() function. This function can be used as php code in the directory setting of an IMCE profile to allow for per user configuration of directory…
Code
function imce_dir_man_menu() {
$menu['admin/config/media/imce_dir_man'] = array(
'title' => 'IMCE User Directory Access Manager',
'description' => 'Administer directory restrictions for IMCE',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'imce_dir_man_form',
),
'access arguments' => array(
'administer site configuration',
),
);
return $menu;
}