You are here

function Messaging_Template::add_string in Messaging 7

Add string

1 call to Messaging_Template::add_string()
Messaging_Template::add_item in messaging_template/messaging_template.inc
Add item of unknown type

File

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

Class

Messaging_Template
Base template class

Code

function add_string($name, $string) {
  $element = array(
    '#markup' => $string,
  );
  return $this
    ->add_element($name, $element);
}