You are here

function views_node_access_filter_user_role_update in Views Node Access Filter 8

Implements hook_ENTITY_TYPE_update().

File

./views_node_access_filter.access_records.inc, line 135
Node access hooks.

Code

function views_node_access_filter_user_role_update(EntityInterface $entity) {

  // Rebuild node grants when permissions change.
  node_access_needs_rebuild(TRUE);
}