public function FrxEmailMerge::configForm in Forena Reports 7.5
Returns the section Enter description here ...
Overrides RendererBase::configForm
File
- src/
Renderer/ FrxEmailMerge.php, line 29 - FrxEmailMerge Email merge template.
Class
Namespace
Drupal\forena\RendererCode
public function configForm($config) {
$form_ctl['from'] = array(
'#type' => 'textfield',
'#title' => t('From'),
'#default_value' => @$config['from'],
);
$form_ctl['to'] = array(
'#type' => 'textfield',
'#title' => t('To'),
'#default_value' => @$config['to'],
);
$form_ctl['cc'] = array(
'#type' => 'textfield',
'#title' => t('Cc'),
'#default_value' => @$config['cc'],
);
$form_ctl['bcc'] = array(
'#type' => 'textfield',
'#title' => t('Bcc'),
'#default_value' => @$config['bcc'],
);
$form_ctl['subject'] = array(
'#type' => 'textfield',
'#title' => t('Subject'),
'#default_value' => @$config['subject'],
);
$form_ctl['body'] = array(
'#type' => 'text_format',
'#title' => t('Message'),
"#format" => $this->email_input_format,
'#default_value' => @$config['body']['value'],
);
return $form_ctl;
}