You are here

function adminrole_node_type in Admin role 5

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

Implements hook_node_type().

File

./adminrole.module, line 46
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();
}