You are here

public function SchemaFormBuilderInterface::getFormArray in Migrate API 8

Same name and namespace in other branches
  1. 8.2 src/SchemaFormBuilderInterface.php \Drupal\migrate_api\SchemaFormBuilderInterface::getFormArray()

Get a form from a schema plugin id.

Parameters

string $schema_plugin_id: The schema plugin id.

\Drupal\Core\Form\FormStateInterface $form_state: The form state the form will become a part of.

Return value

array Form elements.

1 method overrides SchemaFormBuilderInterface::getFormArray()
SchemaFormBuilder::getFormArray in src/SchemaFormBuilder.php
Get a form from a schema plugin id.

File

src/SchemaFormBuilderInterface.php, line 33
Contains \Drupal\migrate_api\SchemaFormBuilderInterface.

Class

SchemaFormBuilderInterface
Builds forms from schema plugin ids.

Namespace

Drupal\migrate_api

Code

public function getFormArray($schema_plugin_id, FormStateInterface $form_state);