token_var.install in Token Variable 7
Contains hook_install, schema and updates for token_var module.
File
token_var.installView source
<?php
/**
* @file
* Contains hook_install, schema and updates for token_var module.
*/
/**
* Implements hook_enable().
*/
function token_var_enable() {
$link = l(t('Configuration Link'), 'admin/config/system/tokenizevariables');
drupal_set_message("Please visit {$link} to select variables for token replacement");
}
/**
* Implements hook_uninstall().
*/
function token_var_uninstall() {
variable_del('tokenize_drupal_variables_options');
}
Functions
Name | Description |
---|---|
token_var_enable | Implements hook_enable(). |
token_var_uninstall | Implements hook_uninstall(). |