class FormBuilderWebformPropertyOptions in Form Builder 7
Special handling for $component['options'].
Hierarchy
- class \FormBuilderPropertyBase implements FormBuilderPropertyInterface
Expanded class hierarchy of FormBuilderWebformPropertyOptions
1 string reference to 'FormBuilderWebformPropertyOptions'
- form_builder_form_builder_properties in ./
form_builder.module - Implementation of hook_form_builder_properties().
File
- modules/
webform/ form_builder_webform.classes.inc, line 278
View source
class FormBuilderWebformPropertyOptions extends FormBuilderWebformProperty {
public function submit($form, &$form_state) {
// Webform needs the options to be saved as text.
$options = $form_state['values']['options']['options_field'];
parent::submit($form, $form_state);
$form_state['values']['options'] = $options;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FormBuilderPropertyBase:: |
protected | property | ||
FormBuilderPropertyBase:: |
protected | property | ||
FormBuilderPropertyBase:: |
protected | property | ||
FormBuilderWebformProperty:: |
protected | property | ||
FormBuilderWebformProperty:: |
public | function |
Generate form-API elements for editing this property. Overrides FormBuilderPropertyBase:: |
|
FormBuilderWebformProperty:: |
public | function | Read the value from a component array. | |
FormBuilderWebformProperty:: |
public | function | 2 | |
FormBuilderWebformProperty:: |
public | function |
Construct a new instance of this property class. Overrides FormBuilderPropertyBase:: |
|
FormBuilderWebformPropertyOptions:: |
public | function |
Submit handler for the editing form(). Overrides FormBuilderPropertyBase:: |