You are here

function access_scheme_type_load in Access Control Kit 7

Loads the info for a scheme type from a URL-friendly argument.

Parameters

string $type: A scheme type string, where '_' may be replaced with '-'.

Return value

array|false The information array for the requested $type, or FALSE if not found.

File

./access.module, line 534
The access control kit module.

Code

function access_scheme_type_load($type) {
  return access_scheme_info(str_replace('-', '_', $type));
}