You are here

function tft_taxonomy_access_menu in Taxonomy File Tree 7.2

Implements hook_menu().

File

modules/tft_taxonomy_access/tft_taxonomy_access.module, line 11
Taxonomy Access integration.

Code

function tft_taxonomy_access_menu() {
  return array(
    'tft/term/access/%' => array(
      'title' => "Access control",
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'tft_taxonomy_access_access_form',
        3,
      ),
      'access callback' => array(
        'tft_taxonomy_access_access',
      ),
      'access arguments' => array(
        3,
      ),
      'type' => MENU_CALLBACK,
    ),
  );
}