You are here

function adminrole_content_fieldapi in Admin role 6

Implements hook_content_fieldapi().

Respond to fields being

File

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

Code

function adminrole_content_fieldapi($op, $field) {
  switch ($op) {
    case 'create instance':
    case 'update instance':
    case 'delete instance':
      adminrole_update_permissions();
  }
}