You are here

function registration_type_load in Entity Registration 8

Same name and namespace in other branches
  1. 8.2 registration.module \registration_type_load()
  2. 7.2 registration.module \registration_type_load()
  3. 7 registration.module \registration_type_load()

Menu argument loader; Load a registration type by string.

Parameters

$type: The machine-readable name of a registration type to load.

Return value

A registration type array or FALSE if $type does not exist.

File

./registration.module, line 1926

Code

function registration_type_load($type) {
  return registration_get_types($type);
}