protected function Messaging_Message::default_template in Messaging 7
Get default message template
2 calls to Messaging_Message::default_template()
- Messaging_Message::do_build in ./
messaging.message.inc - Check parameters and go for alter hook
- Messaging_Message::get_template in ./
messaging.message.inc - Get message template for current method
File
- ./
messaging.message.inc, line 209 - Drupal Messaging Framework - Message class file
Class
- Messaging_Message
- Message class
Code
protected function default_template() {
if (!isset($this->template['default'])) {
// We don't have a template yet, create one
$this->template['default'] = new Messaging_Message_Text();
}
return $this->template['default'];
}