function permissions_by_term_node_insert in Permissions by Term 8
Same name and namespace in other branches
- 8.2 permissions_by_term.module \permissions_by_term_node_insert()
Implements hook_node_insert().
File
- ./
permissions_by_term.module, line 360 - Allows access to terms in a vocabulary to be limited by user or role.
Code
function permissions_by_term_node_insert($node) {
Cache::invalidateTags([
'search_index:node_search',
]);
}