interface SchemaFormBuilderInterface in Migrate API 8
Same name and namespace in other branches
- 8.2 src/SchemaFormBuilderInterface.php \Drupal\migrate_api\SchemaFormBuilderInterface
Builds forms from schema plugin ids.
Hierarchy
- interface \Drupal\migrate_api\SchemaFormBuilderInterface
Expanded class hierarchy of SchemaFormBuilderInterface
All classes that implement SchemaFormBuilderInterface
File
- src/
SchemaFormBuilderInterface.php, line 15 - Contains \Drupal\migrate_api\SchemaFormBuilderInterface.
Namespace
Drupal\migrate_apiView source
interface SchemaFormBuilderInterface {
/**
* They key for the root of the form.
*/
const ROOT_CONTEXT_KEY = 'root';
/**
* Get a form from a schema plugin id.
*
* @param string $schema_plugin_id
* The schema plugin id.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The form state the form will become a part of.
*
* @return array
* Form elements.
*/
public function getFormArray($schema_plugin_id, FormStateInterface $form_state);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SchemaFormBuilderInterface:: |
public | function | Get a form from a schema plugin id. | 1 |
SchemaFormBuilderInterface:: |
constant | They key for the root of the form. |