You are here

function hs_taxonomy_enable in Hierarchical Select 6.3

Same name and namespace in other branches
  1. 7.3 modules/hs_taxonomy.install \hs_taxonomy_enable()

Implementation of hook_enable().

File

modules/hs_taxonomy.install, line 34
Install file for the Hierarchical Select Taxonomy module.

Code

function hs_taxonomy_enable() {
  variable_set('taxonomy_override_selector', TRUE);
  drupal_set_message(t("Drupal core's taxonomy selects are now overridden on the\n                        Taxonomy Term form. They've been replaced by\n                        Hierarchical Selects for better scalability.<br />\n                        You can <a href=\"!configure-url\">configure</a> it to\n                        be used on node forms too!", array(
    '!configure-url' => url('admin/settings/hierarchical_select/configs'),
  )), 'warning');
}