resource_hints.install in Resource Hints 7.2
Same filename and directory in other branches
Install hooks for the resource hints module.
File
resource_hints.installView 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
Name | Description |
---|---|
resource_hints_uninstall | Implements hook_uninstall(). |