You are here

resource_hints.install in Resource Hints 7.2

Same filename and directory in other branches
  1. 8 resource_hints.install
  2. 7 resource_hints.install

Install hooks for the resource hints module.

File

resource_hints.install
View source
<?php

/**
 * @file
 * Install hooks for the resource hints module.
 */

/**
 * Implements hook_uninstall().
 */
function resource_hints_uninstall() {
  $vars = array(
    'resource_hints_dns_prefetch_output',
    'resource_hints_dns_prefetch_control',
    'resource_hints_dns_prefetch_resources',
    'resource_hints_preconnect_output',
    'resource_hints_preconnect_resources',
    'resource_hints_prefetch_output',
    'resource_hints_prefetch_resources',
    'resource_hints_prerender_output',
    'resource_hints_prerender_resources',
  );
  foreach ($vars as $var) {
    variable_del($var);
  }
}

Functions

Namesort descending Description
resource_hints_uninstall Implements hook_uninstall().