You are here

function _roleassign_module_load_include in RoleAssign 7

Same name and namespace in other branches
  1. 7.2 roleassign.module \_roleassign_module_load_include()

Helper function to load include files.

Parameters

string $type:

4 calls to _roleassign_module_load_include()
roleassign_form_alter in ./roleassign.module
Implements hook_form_alter().
roleassign_help in ./roleassign.module
Implements hook_help().
roleassign_user_operations in ./roleassign.module
Implements hook_user_operations().
roleassign_user_presave in ./roleassign.module
Implements hook_user_presave().

File

./roleassign.module, line 140
Allows site administrators to further delegate the task of managing user's roles.

Code

function _roleassign_module_load_include($type) {
  static $loaded = array();
  if (!isset($loaded[$type])) {
    $loaded[$type] = (bool) module_load_include($type, 'roleassign');
  }
  return $loaded[$type];
}