You are here

function taxonomy_access_init in Taxonomy Access Control 7

Same name and namespace in other branches
  1. 6 taxonomy_access.module \taxonomy_access_init()

Implements hook_init().

File

./taxonomy_access.module, line 80
Allows administrators to specify access control for taxonomy categories.

Code

function taxonomy_access_init() {
  $path = drupal_get_path('module', 'taxonomy_access');
  drupal_add_css($path . '/taxonomy_access.css');

  // Register our shutdown function.
  drupal_register_shutdown_function('taxonomy_access_shutdown');
}