interface ElementInterface in Form Builder 7.2
Hierarchy
- interface \Drupal\form_builder\ElementInterface
Expanded class hierarchy of ElementInterface
All classes that implement ElementInterface
File
- src/
ElementInterface.php, line 5
Namespace
Drupal\form_builderView source
interface ElementInterface {
public function __construct($form_type, $params, &$element, $loader);
/**
* (Re-)Render an element.
*
* @return array
* New FAPI array reflecting all the changes made prior to callig this
* method.
*/
public function render();
/**
* Get a list of properties available for this element.
*
* @return \Drupal\form_builder\PropertyInterface[]
* An associative array of properties keyed by the property name.
*/
public function getProperties();
/**
* Get a list of properties that are supported in any way by this element.
*
* This returns a list of all supported properties within an element, even
* if some of those properties do not have an interface for editing or are
* only used internally by the module providing the form type this element
* is being saved in.
*
* @return
* A non-indexed list of properties that may be saved for this element.
**/
public function getSaveableProperties();
/**
* Get the configuration form for this element.
*/
public function configurationForm($form, &$form_state);
/**
* Submit handler for the configuration form.
*/
public function configurationSubmit(&$form, &$form_state);
/**
* Get a human-readable title for this form element.
*/
public function title();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ElementInterface:: |
public | function | Get the configuration form for this element. | 2 |
ElementInterface:: |
public | function | Submit handler for the configuration form. | 1 |
ElementInterface:: |
public | function | Get a list of properties available for this element. | 1 |
ElementInterface:: |
public | function | Get a list of properties that are supported in any way by this element. | 1 |
ElementInterface:: |
public | function | (Re-)Render an element. | 1 |
ElementInterface:: |
public | function | Get a human-readable title for this form element. | 1 |
ElementInterface:: |
public | function | 1 |