You are here

public function Messaging_Message_Text::build in Messaging 7

Build message parts as renderable array

Overrides Messaging_Message_Render::build

1 call to Messaging_Message_Text::build()
Messaging_Message_Text::build_parts in ./messaging.text.inc
Build array of message parts

File

./messaging.text.inc, line 60
Basic message templates and theming

Class

Messaging_Message_Text
Very simple template with plain subject, header, content, footer texts

Code

public function build() {
  $args = func_get_args();
  $args = $args ? $args : array(
    'subject',
    'body',
  );
  return $this
    ->build_parts($args);
}