function notifications_object_type in Notifications 7
Same name and namespace in other branches
- 6.4 notifications.module \notifications_object_type()
Get info about object types
Parameters
$type: String, the subscriptions type OPTIONAL
$field: String, a specific field to retrieve info from OPTIONAL
Information for a given field and type or information for a given field for all types
1 call to notifications_object_type()
- notifications_object in ./
notifications.module - Create a wrapped object and keep a static cache of created objects.
File
- ./
notifications.module, line 519 - Notifications module
Code
function notifications_object_type($type = NULL, $field = NULL, $default = NULL) {
return notifications_info('object types', $type, $field, $default);
}