first import
This commit is contained in:
19
sites/all/modules/mb/mb_content/mb_content.install
Normal file
19
sites/all/modules/mb/mb_content/mb_content.install
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Installs, updates, and uninstalls More Buttons Content.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_uninstall().
|
||||
*/
|
||||
function mb_content_uninstall() {
|
||||
// Remove variables.
|
||||
$node_types = array_keys(node_type_get_types());
|
||||
foreach ($node_types as $type) {
|
||||
variable_del('mb_content_cancel_' . $type);
|
||||
variable_del('mb_content_sac_' . $type);
|
||||
variable_del('mb_content_tabcn_' . $type);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user