function form_builder_examples_property_markup_form in Form Builder 7.2
Configuration form for the "markup" property.
1 string reference to 'form_builder_examples_property_markup_form'
- form_builder_examples_form_builder_properties in examples/
form_builder_examples.module - Implementation of hook_form_builder_properties().
File
- examples/
form_builder_examples.properties.inc, line 256 - form_builder_examples.properties.inc Implementations of hook_form_builder_properties in separate functions.
Code
function form_builder_examples_property_markup_form(&$form_state, $form_type, $element, $property) {
$form = array();
// TODO: This is a placeholder until "#markup" becomes available in D7.
$form['markup'] = array(
'#type' => 'text_format',
'#title' => t('Markup'),
'#default_value' => $element['#markup'],
'#format' => isset($element['#format']) ? $element['#format'] : NULL,
'#weight' => 1,
'#wysiwyg' => FALSE,
);
return $form;
}