function field_permissions_install in Field Permissions 7
Same name and namespace in other branches
- 6 field_permissions.install \field_permissions_install()
Implements hook_install().
File
- ./
field_permissions.install, line 11 - Install, update and uninstall functions for the Field Permissions module.
Code
function field_permissions_install() {
// Set a larger weight for the module.
db_update('system')
->fields(array(
'weight' => 50,
))
->condition('name', 'field_permissions')
->execute();
}