You are here

function taxonomy_edge_install in Taxonomy Edge 7

Same name and namespace in other branches
  1. 8 taxonomy_edge.install \taxonomy_edge_install()
  2. 6 taxonomy_edge.install \taxonomy_edge_install()
  3. 7.2 taxonomy_edge.install \taxonomy_edge_install()

Implements hook_install().

File

./taxonomy_edge.install, line 10
Installation file for Taxonomy Edge

Code

function taxonomy_edge_install() {
  $t = get_t();
  _taxonomy_edge_add_new_indexes(TRUE);
  drupal_set_message($t('Taxonomy Edge is now installed. Add the provided patch to the core module Taxonomy module for better performance.'));
  drupal_set_message($t('Taxonomy Edge settings are available under !link', array(
    '!link' => l($t('Administer > Structure > Taxonomy'), 'admin/structure/taxonomy/edge'),
  )));
  drupal_set_message($t('Remember to build trees: !link', array(
    '!link' => l($t('Administer > Structure > Taxonomy'), 'admin/structure/taxonomy'),
  )));
}