node_access_example_enable
developer/examples/node_access_example.install, строка 35
- Версии
- 5
node_access_example_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.
Код
<?php
function node_access_example_enable() {
node_access_rebuild();
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии