public function FormInterface::buildForm in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Form/FormInterface.php \Drupal\Core\Form\FormInterface::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
157 methods override FormInterface::buildForm()
- ActionAdminManageForm::buildForm in core/
modules/ action/ src/ Form/ ActionAdminManageForm.php - Form constructor.
- AddHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ AddHandler.php - Form constructor.
- AjaxFormBlock::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - Form constructor.
- AjaxFormsTestCommandsForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestCommandsForm.php - .
- AjaxFormsTestLazyLoadForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestLazyLoadForm.php - Form constructor.
File
- core/
lib/ Drupal/ Core/ Form/ FormInterface.php, line 36 - Contains \Drupal\Core\Form\FormInterface.
Class
- FormInterface
- Provides an interface for a Form.
Namespace
Drupal\Core\FormCode
public function buildForm(array $form, FormStateInterface $form_state);