You are here

node_view_permissions.install in Node View Permissions 8

Same filename and directory in other branches
  1. 7 node_view_permissions.install

Contains install and update functions for node_view_permissions.

File

node_view_permissions.install
View 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);
}