function _messaging_callback_get in Messaging 6
Same name and namespace in other branches
- 6.4 messaging.module \_messaging_callback_get()
- 6.2 messaging.module \_messaging_callback_get()
- 6.3 messaging.module \_messaging_callback_get()
Get a callback from the item information if present
3 calls to _messaging_callback_get()
- messaging_message_callbacks in ./
messaging.module - Invoke callback list
- Messaging_Methods_Tests::testMessagingMethods in tests/
messaging_methods.test - Test message sending callbacks for enabled plug-ins
- messaging_user_destination in ./
messaging.module - Get destination from user account
File
- ./
messaging.module, line 994
Code
function _messaging_callback_get($info, $type, $default = NULL) {
if (!empty($info[$type . ' callback'])) {
return $info[$type . ' callback'];
}
else {
return $default;
}
}