You are here

function hook_taxonomy_tools_overview_links in Taxonomy Tools 8

Same name and namespace in other branches
  1. 7 taxonomy_tools.api.php \hook_taxonomy_tools_overview_links()

Define action links for specified taxonomy term.

Parameters

int $tid: Taxonomy term identificator.

Return value

array An array containing any custom links.

1 function implements hook_taxonomy_tools_overview_links()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

taxonomy_tools_copier_taxonomy_tools_overview_links in taxonomy_tools_copier/taxonomy_tools_copier.module
Implements hook_taxonomy_tools_overview_links().
1 invocation of hook_taxonomy_tools_overview_links()
taxonomy_tools_overview in ./taxonomy_tools.admin.inc
Build taxonomy overview form.

File

./taxonomy_tools.api.php, line 65
Hooks provided by the Taxonomy Tools module.

Code

function hook_taxonomy_tools_overview_links($tid) {
  $links = array();
  $links['sample_link'] = array(
    '#type' => 'link',
    '#title' => 'sample link',
    '#href' => '<front>',
    '#attributes' => array(
      'class' => array(
        'sample-link',
      ),
      'title' => 'sample link',
    ),
    '#options' => array(),
  );
  return $links;
}