function form_builder_examples_property_field_suffix_form in Form Builder 7.2
Configuration form for the "field_suffix" property.
1 string reference to 'form_builder_examples_property_field_suffix_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 383 - form_builder_examples.properties.inc Implementations of hook_form_builder_properties in separate functions.
Code
function form_builder_examples_property_field_suffix_form(&$form_state, $form_type, $element, $property) {
$form = array();
$form['field_suffix'] = array(
'#form_builder' => array(
'property_group' => 'display',
),
'#type' => 'textfield',
'#title' => t('Suffix'),
'#default_value' => $element['#field_suffix'],
'#weight' => -1,
);
return $form;
}