You are here

function Messaging_Template::get_subject in Messaging 6.3

Get subject message parts

Parameters

$method: Sending method

$language: Language code

Return value

string or array() Subject text or text parts for rendering

Overrides Messaging_Message_Template::get_subject

File

messaging_template/messaging_template.inc, line 494
Base classes for messaging templates

Class

Messaging_Template
Messaging Template class

Code

function get_subject($method = NULL, $language = NULL) {
  return $this
    ->get_text('subject', $method, $language);
}