form_placeholder.install in Form Placeholder 7
Installation functions for Form Placeholder module.
File
form_placeholder.installView source
<?php
/**
* @file
* Installation functions for Form Placeholder module.
*/
/**
* Implements hook_enable().
*/
function form_placeholder_enable() {
drupal_set_message(t('Form Placeholder module is enabled, now You can go to the <a href="@module-config">module configuration page</a>.', array(
'@module-config' => url('admin/config/user-interface/form-placeholder'),
)));
}
/**
* Implements hook_uninstall().
*/
function form_placeholder_uninstall() {
$variables = array(
'include',
'exclude',
'required_indicator',
);
foreach ($variables as $value) {
variable_del('form_placeholder_' . $value);
}
}
Functions
Name | Description |
---|---|
form_placeholder_enable | Implements hook_enable(). |
form_placeholder_uninstall | Implements hook_uninstall(). |