You are here

function tft_og_context_negotiation_info in Taxonomy File Tree 7

Implements hook_og_context_negotiation_info

File

./tft.module, line 58
Module hooks.

Code

function tft_og_context_negotiation_info() {
  $providers = array();
  $providers['tft'] = array(
    'name' => t('Taxonomy file tree urls'),
    'description' => t("Determine context by checking all Taxonomy file tree urls."),
    'callback' => 'tft_og_context_handler',
    'menu path' => array(
      'tft/term/add',
      'tft/term/edit/%',
      'tft/term/delete/%',
      'tft/terms/reorder/%',
    ),
  );
  return $providers;
}