You are here

public function Messaging_Message_Template::set_format in Messaging 7

Set text format

Overrides Messaging_Message_Render::set_format

File

messaging_template/messaging_template.inc, line 446
Drupal Messaging Framework - Text filtering functions

Class

Messaging_Message_Template
Template for a full message (subject, body, etc..)

Code

public function set_format($format) {
  $this->format = $format;
  $this
    ->reset();
  return $this;
}