You are here

function tft_permission in Taxonomy File Tree 7.2

Same name and namespace in other branches
  1. 7 tft.module \tft_permission()

Implements hook_permission().

Related topics

1 call to tft_permission()
tft_og_og_permission in modules/tft_og/tft_og.module
Implements hook_og_permission().

File

./tft.module, line 115
Hook implementations and module logic for TFT.

Code

function tft_permission() {
  return array(
    TFT_PERM__ACCESS_FULL_TREE => array(
      'title' => t("Access file tree"),
    ),
    TFT_PERM__ADMIN => array(
      'title' => t("Administer Taxonomy file tree"),
    ),
    TFT_PERM__REORDER_ITEMS => array(
      'title' => t("Reorder items in the tree"),
    ),
    TFT_PERM__ADD_FILE => array(
      'title' => t("Add file"),
    ),
    TFT_PERM__ADD_TERMS => array(
      'title' => t("Add new folders"),
    ),
    TFT_PERM__DELETE_TERMS => array(
      'title' => t("Remove folders"),
    ),
  );
}