You are here

function adminrole_node_type in Admin role 6

Same name and namespace in other branches
  1. 5 adminrole.module \adminrole_node_type()

Implements hook_node_type().

File

./adminrole.module, line 63
This module simply gives a designated role all permissions every time the modules page is submitted.

Code

function adminrole_node_type($op, $node_type) {
  adminrole_update_permissions();
}