Skip to main content
added 26 characters in body
Source Link
Mołot
  • 21.9k
  • 8
  • 59
  • 112

You can try this.It works i think so

$form['formItem'] = array( '#type'=>'text_format', '#title' => t('Field Label'), '#value' => 'This is my value', '#format'=>'full_html', );

$form['formItem'] = array(
     '#type'=>'text_format',
     '#title' => t('Field Label'),
     '#value' => 'This is my value',
     '#format'=>'full_html',
);

You can try this.It works i think so

$form['formItem'] = array( '#type'=>'text_format', '#title' => t('Field Label'), '#value' => 'This is my value', '#format'=>'full_html', );

You can try this.It works i think so

$form['formItem'] = array(
     '#type'=>'text_format',
     '#title' => t('Field Label'),
     '#value' => 'This is my value',
     '#format'=>'full_html',
);
Source Link

You can try this.It works i think so

$form['formItem'] = array( '#type'=>'text_format', '#title' => t('Field Label'), '#value' => 'This is my value', '#format'=>'full_html', );