You are here

function Messaging_Template::set_language in Messaging 7

Set language

1 call to Messaging_Template::set_language()
Messaging_Template::get_options in messaging_template/messaging_template.inc
Get options for texts, translations, etc

File

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

Class

Messaging_Template
Base template class

Code

function set_language($language) {
  $this
    ->set_option('language', $language);
  $this
    ->set_option('langcode', $language->language);
  $this
    ->reset();
  return $this;
}