54 calls to SubformState::createForSubform()

BlockForm::form in core/modules/block/src/BlockForm.php
Gets the actual form array to be built.
BlockForm::submitForm in core/modules/block/src/BlockForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
BlockForm::submitVisibility in core/modules/block/src/BlockForm.php
Helper function to independently submit the visibility UI.
BlockForm::validateForm in core/modules/block/src/BlockForm.php
Form validation handler.
BlockForm::validateVisibility in core/modules/block/src/BlockForm.php
Helper function to independently validate the visibility UI.
CKEditor5::validateConfigurationForm in core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php
Form validation handler.
ConfigureBlockFormBase::doBuildForm in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
Builds the form for the block.
ConfigureBlockFormBase::submitForm in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
Form submission handler.
ConfigureBlockFormBase::validateForm in core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php
Form validation handler.
ConfigureSectionForm::buildForm in core/modules/layout_builder/src/Form/ConfigureSectionForm.php
Form constructor.
ConfigureSectionForm::submitForm in core/modules/layout_builder/src/Form/ConfigureSectionForm.php
Form submission handler.
ConfigureSectionForm::validateForm in core/modules/layout_builder/src/Form/ConfigureSectionForm.php
Form validation handler.
editor_form_filter_admin_format_submit in core/modules/editor/editor.module
Additional submit handler for filter_format_form().
editor_form_filter_admin_format_validate in core/modules/editor/editor.module
Additional validate handler for filter_format_form().
editor_form_filter_format_form_alter in core/modules/editor/editor.module
Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
EmbeddedForm::buildForm in core/modules/field_layout/tests/modules/field_layout_test/src/Form/EmbeddedForm.php
Form constructor.
FieldConfigEditForm::afterBuild in core/modules/field_ui/src/Form/FieldConfigEditForm.php
Form element #after_build callback: Updates the entity with submitted data.
FieldConfigEditForm::copyFormValuesToEntity in core/modules/field_ui/src/Form/FieldConfigEditForm.php
Copies top-level form values to entity properties.
FieldConfigEditForm::form in core/modules/field_ui/src/Form/FieldConfigEditForm.php
Gets the actual form array to be built.
FieldConfigEditForm::submitForm in core/modules/field_ui/src/Form/FieldConfigEditForm.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
FieldConfigEditForm::validateForm in core/modules/field_ui/src/Form/FieldConfigEditForm.php
Form validation handler.
FieldLayoutEntityDisplayFormTrait::form in core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::form().
FieldLayoutEntityDisplayFormTrait::submitForm in core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::submitForm().
FieldLayoutEntityDisplayFormTrait::validateForm in core/modules/field_layout/src/Form/FieldLayoutEntityDisplayFormTrait.php
Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::validateForm().
FormController::buildForm in core/modules/system/tests/modules/condition_test/src/FormController.php
Form constructor.
FormController::submitForm in core/modules/system/tests/modules/condition_test/src/FormController.php
Form submission handler.
FormController::validateForm in core/modules/system/tests/modules/condition_test/src/FormController.php
Implements \Drupal\Core\Form\FormInterface::validateForm().
ImageEffectFormBase::buildForm in core/modules/image/src/Form/ImageEffectFormBase.php
ImageEffectFormBase::submitForm in core/modules/image/src/Form/ImageEffectFormBase.php
Form submission handler.
ImageEffectFormBase::validateForm in core/modules/image/src/Form/ImageEffectFormBase.php
Form validation handler.
SubformStateTest::testFormObject in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::getFormObject
SubformStateTest::testGetCompleteFormStateWithParentCompleteForm in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::getCompleteFormState
SubformStateTest::testGetCompleteFormStateWithParentSubform in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::getCompleteFormState
SubformStateTest::testGetLimitValidationErrors in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::getLimitValidationErrors
SubformStateTest::testGetValue in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::getValue
SubformStateTest::testGetValues in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::getValues @covers ::getParents
SubformStateTest::testSetErrorByName in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::setErrorByName
SubformStateTest::testSetLimitValidationErrors in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::setLimitValidationErrors
SubformStateTest::testSetValues in core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
@covers ::setValues
WorkflowEditForm::form in core/modules/workflows/src/Form/WorkflowEditForm.php
Gets the actual form array to be built.
WorkflowEditForm::save in core/modules/workflows/src/Form/WorkflowEditForm.php
Form submission handler for the 'save' action.
WorkflowEditForm::validateForm in core/modules/workflows/src/Form/WorkflowEditForm.php
Form validation handler.
WorkflowStateAddForm::form in core/modules/workflows/src/Form/WorkflowStateAddForm.php
Gets the actual form array to be built.
WorkflowStateAddForm::save in core/modules/workflows/src/Form/WorkflowStateAddForm.php
Form submission handler for the 'save' action.
WorkflowStateAddForm::validateForm in core/modules/workflows/src/Form/WorkflowStateAddForm.php
Form validation handler.
WorkflowStateEditForm::form in core/modules/workflows/src/Form/WorkflowStateEditForm.php
Gets the actual form array to be built.
WorkflowStateEditForm::save in core/modules/workflows/src/Form/WorkflowStateEditForm.php
Form submission handler for the 'save' action.
WorkflowStateEditForm::validateForm in core/modules/workflows/src/Form/WorkflowStateEditForm.php
Form validation handler.
WorkflowTransitionAddForm::form in core/modules/workflows/src/Form/WorkflowTransitionAddForm.php
Gets the actual form array to be built.
WorkflowTransitionAddForm::save in core/modules/workflows/src/Form/WorkflowTransitionAddForm.php
Form submission handler for the 'save' action.
WorkflowTransitionAddForm::validateForm in core/modules/workflows/src/Form/WorkflowTransitionAddForm.php
Form validation handler.
WorkflowTransitionEditForm::form in core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
Gets the actual form array to be built.
WorkflowTransitionEditForm::save in core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
Form submission handler for the 'save' action.
WorkflowTransitionEditForm::validateForm in core/modules/workflows/src/Form/WorkflowTransitionEditForm.php
Form validation handler.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.