function private_enable in Private 5
Same name and namespace in other branches
- 6 private.module \private_enable()
- 7 private.module \private_enable()
Implementation of hook_enable().
A node access module needs to force a rebuild of the node access table when it is enabled to ensure that things are set up.
File
- ./
private.module, line 34 - This is an example illustrating how to restrict access to nodes based on some criterion associated with the user.
Code
function private_enable() {
node_access_rebuild();
}