function og_access_enable in Organic groups 5
Same name and namespace in other branches
- 5.8 og_access.install \og_access_enable()
- 5.3 og_access.install \og_access_enable()
- 5.7 og_access.install \og_access_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
- ./
og_access.install, line 18
Code
function og_access_enable() {
node_access_rebuild();
drupal_set_message(t('The node access table has been rebuilt.'));
}