You are here

function tft_permission in Taxonomy File Tree 7

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

Implementation of hook_permission().

1 call to tft_permission()
tft_og_permission in ./tft.module
Implements hook_og_permission().

File

./tft.module, line 247
Module hooks.

Code

function tft_permission() {
  return array(
    TFT_ACCESS_FULL_TREE => array(
      'title' => t("Access full file tree"),
    ),
    TFT_ADMIN => array(
      'title' => t("Administer Taxonomy file tree"),
    ),
    TFT_REORDER_TERMS => array(
      'title' => t("Reorder terms"),
    ),
    TFT_ADD_FILE => array(
      'title' => t("Add file"),
    ),
    TFT_ADD_TERMS => array(
      'title' => t("Add new folders"),
    ),
    TFT_DELETE_TERMS => array(
      'title' => t("Remove folders"),
    ),
    TFT_ARCHIVE_TERMS => array(
      'title' => t("Archive folders"),
    ),
  );
}