You are here

function node_accessibility_install in Node Accessibility 7

Implementation of hook_install().

File

./node_accessibility.install, line 89
Install file for node accessibility.

Code

function node_accessibility_install() {
  if (function_exists('cf_settings_register')) {
    cf_settings_register('node_accessibility_node_type_settings', 'drupal_variables', 'node_accessibility', array());
    cf_settings_register('node_accessibility_alter_revision_menu', 'drupal_variables', 'node_accessibility', TRUE);
  }
  else {
    variable_set('node_accessibility_node_type_settings', array());
    variable_set('node_accessibility_alter_revision_menu', TRUE);
  }
}