function tft_archive_tft_term_access in Taxonomy File Tree 7.2
Implements hook_tft_term_access().
File
- modules/
tft_archive/ tft_archive.module, line 70 - Hook implementation and logic.
Code
function tft_archive_tft_term_access($tid, $account = NULL, $op = 'view') {
if (!isset($account)) {
global $user;
$account = $user;
}
if ($op == 'archive') {
return user_access(TFT_ARCHIVE_PERM__ARCHIVE_TERMS, $account);
}
}