function form_builder_property_markup_form in Form Builder 6
Same name and namespace in other branches
- 7 includes/form_builder.properties.inc \form_builder_property_markup_form()
Configuration form for the "markup" property.
1 string reference to 'form_builder_property_markup_form'
- form_builder_form_builder_properties in ./
form_builder.module - Implementation of hook_form_builder_properties().
File
- includes/
form_builder.properties.inc, line 251 - form_builder.properties.inc Implementations of hook_form_builder_properties in separate functions.
Code
function form_builder_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' => 'textarea',
'#title' => t('Markup'),
'#default_value' => $element['#markup'],
'#weight' => 1,
);
return $form;
}