You are here

protected function Messaging_Template::element_defaults in Messaging 7

2 calls to Messaging_Template::element_defaults()
Messaging_Message_Template::element_defaults in messaging_template/messaging_template.inc
Messaging_Template::build_element in messaging_template/messaging_template.inc
Build a named element
1 method overrides Messaging_Template::element_defaults()
Messaging_Message_Template::element_defaults in messaging_template/messaging_template.inc

File

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

Class

Messaging_Template
Base template class

Code

protected function element_defaults($name) {
  return array(
    '#format' => $this->format,
    '#method' => $this->method,
    '#options' => $this
      ->get_options(),
    '#template' => $this,
  );
}