node_view_permissions.install in Node View Permissions 8
Same filename and directory in other branches
Contains install and update functions for node_view_permissions.
File
node_view_permissions.installView source
<?php
/**
* @file
* Contains install and update functions for node_view_permissions.
*/
/**
* Implements hook_install().
*/
function node_view_permissions_install() {
node_access_needs_rebuild(TRUE);
}
/**
* Implements hook_uninstall().
*/
function node_view_permissions_uninstall() {
node_access_needs_rebuild(TRUE);
}
/**
* Implements hook_update_N().
*/
function node_view_permissions_update_8001() {
node_access_needs_rebuild(TRUE);
}
Functions
Name | Description |
---|---|
node_view_permissions_install | Implements hook_install(). |
node_view_permissions_uninstall | Implements hook_uninstall(). |
node_view_permissions_update_8001 | Implements hook_update_N(). |