function clientside_validation_enable in Clientside Validation 7.2
Same name and namespace in other branches
- 6 clientside_validation.install \clientside_validation_enable()
- 7 clientside_validation.install \clientside_validation_enable()
Implements hook_enable().
File
- ./
clientside_validation.install, line 10
Code
function clientside_validation_enable() {
//support for module like e.g. select_or_other
db_update('system')
->fields(array(
'weight' => 5,
))
->condition('type', 'module')
->condition('name', 'clientside_validation')
->execute();
// @TODO: exclude admin-block-theme-form by default
}