function messaging_template_method_default in Messaging 6.3
Get method fallback
3 calls to messaging_template_method_default()
- messaging_template_edit_form in messaging_template/
messaging_template.admin.inc - Edit message formats
- Messaging_Template_Engine::method_default in messaging_template/
messaging_template.inc - Get method fallback
- messaging_template_get_template in messaging_template/
messaging_template.module - Get text part with full data, handling fallbacks
File
- messaging_template/
messaging_template.module, line 253 - Template system for Messaging Framework
Code
function messaging_template_method_default($method) {
return $method == 'default' ? FALSE : 'default';
}