relation_migrate.install in Relation 8
Same filename and directory in other branches
Install, uninstall and update hooks for relation_migrate.module.
File
relation_migrate/relation_migrate.installView source
<?php
/**
* @file
* Install, uninstall and update hooks for relation_migrate.module.
*/
/**
* Implements hook_uninstall().
*/
function relation_migrate_uninstall() {
$types = array(
'entityreference',
'taxonomy_term_reference',
'node_reference',
'user_reference',
);
foreach ($types as $type) {
variable_del('relation_migrate_' . $type . '_fields');
variable_del('relation_migrate_' . $type . '_relation_type');
variable_del('relation_migrate_' . $type . '_user');
}
}
Functions
Name | Description |
---|---|
relation_migrate_uninstall | Implements hook_uninstall(). |