function registration_type_load in Entity Registration 7
Same name and namespace in other branches
- 8.2 registration.module \registration_type_load()
- 8 registration.module \registration_type_load()
- 7.2 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.
2 calls to registration_type_load()
- registration_cron in ./
registration.module - Implements hook_cron().
- registration_field_formatter_view in includes/
registration.field.inc - Implements hook_field_formatter_view().
File
- ./
registration.module, line 2013
Code
function registration_type_load($type) {
return registration_get_types($type);
}