Skip to main content
Home
Drupal API Help
Helping Drupal Community, One API at a time

Main menu

  • Home
  • Drupal Core
  • Getting Help

You are here

Home » API reference » Filebrowser 8 » hooks.inc

function filebrowser_perm in Filebrowser 8

Same name and namespace in other branches
  1. 5 filebrowser.module \filebrowser_perm()
  2. 6.2 filebrowser.module \filebrowser_perm()
  3. 6 filebrowser.module \filebrowser_perm()
  4. 7.4 drupal6/hooks.inc \filebrowser_perm()
  5. 7.2 drupal6/hooks.inc \filebrowser_perm()
  6. 7.3 drupal6/hooks.inc \filebrowser_perm()

hook_perm implementation.

File

drupal6/hooks.inc, line 20

Code

function filebrowser_perm() {
  return array(
    FILEBROWSER_CREATE_DIRECTORY_LISTING,
    FILEBROWSER_DELETE_OWN_DIRECTORY_LISTINGS,
    FILEBROWSER_DELETE_ANY_DIRECTORY_LISTINGS,
    FILEBROWSER_EDIT_OWN_DIRECTORY_LISTINGS,
    FILEBROWSER_EDIT_ANY_DIRECORY_LISTINGS,
    FILEBROWSER_VIEW_DIRECORY_LISTINGS,
    FILEBROWSER_UPLOAD,
    FILEBROWSER_DOWNLOAD_ARCHIVE,
    FILEBROWSER_DELETE_FILE,
    FILEBROWSER_DOWNLOAD,
    FILEBROWSER_CREATE_FOLDER,
  );
}

API Navigation

  • Filebrowser 8
  • Classes
  • Functions
  • Files
  • Namespaces
  • Constants

Drupal is a registered trademark of Dries Buytaert. This site is not affiliated with Dries Buytaert, Drupal Association or Drupal.org.