function onlyone_install in Allow a content type only once (Only One) 7
Implements hook_install().
File
- ./
onlyone.install, line 11 - Install and uninstall functions for the Only One module.
Code
function onlyone_install() {
// Creating the default values for the module's variables.
variable_set('onlyone_node_types', array());
variable_set('onlyone_new_menu_entry', FALSE);
}