40 string references to form_builder in Drupal 10
- AjaxFormBlock::create in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - Creates an instance of the plugin.
- BigPipePlaceholderTestCases::cases in core/
modules/ big_pipe/ tests/ modules/ big_pipe_test/ src/ BigPipePlaceholderTestCases.php - Gets all BigPipe placeholder test cases.
- BlockListBuilder::createInstance in core/
modules/ block/ src/ BlockListBuilder.php - Instantiates a new instance of this entity handler.
- ClaroVerticalTabsTest::testVerticalTabs in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ClaroVerticalTabsTest.php - Confirms that Claro can render vertical tabs correctly.
- ConfigTranslationFormTest::testConfigTranslationFormAlter in core/
modules/ config_translation/ tests/ src/ Kernel/ ConfigTranslationFormTest.php - Tests altering of the configuration translation forms.
- ControllerBase::formBuilder in core/
lib/ Drupal/ Core/ Controller/ ControllerBase.php - Returns the form builder service.
- DateTimeFormInjectionTest::testDatetimeSerialization in core/
modules/ datetime/ tests/ src/ Kernel/ DateTimeFormInjectionTest.php - Tests custom string injection serialization.
- DbLogController::create in core/
modules/ dblog/ src/ Controller/ DbLogController.php - Instantiates a new instance of this class.
- DbLogFormInjectionTest::testLoggerSerialization in core/
modules/ dblog/ tests/ src/ Kernel/ DbLogFormInjectionTest.php - Tests db log injection serialization.
- Drupal::formBuilder in core/
lib/ Drupal.php - Returns the form builder service.
- DrupalTest::testFormBuilder in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the formBuilder() method.
- EditorImageDialogTest::testEditorImageDialog in core/
modules/ editor/ tests/ src/ Kernel/ EditorImageDialogTest.php - Tests that editor image dialog works as expected.
- EntityAutocompleteElementFormTest::testEntityAutocompleteAccess in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ Element/ EntityAutocompleteElementFormTest.php - Tests that access is properly checked by the EntityAutocomplete element.
- EntityAutocompleteElementFormTest::testEntityAutocompleteIdInput in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ Element/ EntityAutocompleteElementFormTest.php - Tests ID input is handled correctly.
- EntityAutocompleteElementFormTest::testInvalidEntityAutocompleteElement in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ Element/ EntityAutocompleteElementFormTest.php - Tests invalid entries in the EntityAutocomplete Form API element.
- EntityAutocompleteElementFormTest::testValidEntityAutocompleteElement in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ Element/ EntityAutocompleteElementFormTest.php - Tests valid entries in the EntityAutocomplete Form API element.
- EntityOperations::create in core/
modules/ content_moderation/ src/ EntityOperations.php - FileElementTest::testFileElement in core/
modules/ system/ tests/ src/ Kernel/ Form/ FileElementTest.php - Tests that file elements are built and processed correctly.
- FormDefaultHandlersTest::testDefaultAndCustomHandlers in core/
tests/ Drupal/ KernelTests/ Core/ Form/ FormDefaultHandlersTest.php - Tests that default handlers are added even if custom are specified.
- FormElementMaxlengthTest::testAttributes in core/
modules/ system/ tests/ src/ Kernel/ Form/ FormElementMaxlengthTest.php - Ensures maxlength attribute can be used in compatible elements.
- FormValidationMessageOrderTest::testLimitValidationErrors in core/
tests/ Drupal/ KernelTests/ Core/ Form/ FormValidationMessageOrderTest.php - Tests that fields validation messages are sorted in the fields order.
- ImageEffectsTest::testEffectFormValidationErrors in core/
modules/ image/ tests/ src/ Kernel/ ImageEffectsTest.php - Tests that validation errors are passed from the plugin to the parent form.
- LayoutTest::testRenderLayout in core/
modules/ layout_discovery/ tests/ src/ Kernel/ LayoutTest.php - Tests rendering a layout.
- MigrateUserConfigsTest::testUserMail in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserConfigsTest.php - Tests migration of user variables to user.mail.yml.
- MigrateUserSettingsTest::testMigration in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d7/ MigrateUserSettingsTest.php - Tests the migration.
- PathAliasListBuilder::createInstance in core/
modules/ path/ src/ PathAliasListBuilder.php - Instantiates a new instance of this entity handler.
- PathElementFormTest::testPathElement in core/
tests/ Drupal/ KernelTests/ Core/ Element/ PathElementFormTest.php - Tests that default handlers are added even if custom are specified.
- RedirectFormBlock::create in core/
modules/ system/ tests/ modules/ form_test/ src/ Plugin/ Block/ RedirectFormBlock.php - Creates an instance of the plugin.
- SearchBlock::create in core/
modules/ search/ src/ Plugin/ Block/ SearchBlock.php - SystemController::create in core/
modules/ system/ src/ Controller/ SystemController.php - Instantiates a new instance of this class.
- TestFormApiFormBlock::create in core/
modules/ layout_builder/ tests/ modules/ layout_builder_form_block_test/ src/ Plugin/ Block/ TestFormApiFormBlock.php - Creates an instance of the plugin.
- TextFormatElementFormTest::testTextFormatElement in core/
modules/ filter/ tests/ src/ Kernel/ TextFormatElementFormTest.php - Tests that values are returned.
- TimezoneTest::assertDateTimezonePropertyProcessed in core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ Element/ TimezoneTest.php - Asserts that elements set #date_timezone correctly.
- TimezoneTest::assertTimesUnderstoodCorrectly in core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ Element/ TimezoneTest.php - Asserts that elements interpret dates using the expected time zones.
- TriggeringElementProgrammedTest::testLimitValidationErrors in core/
tests/ Drupal/ KernelTests/ Core/ Form/ TriggeringElementProgrammedTest.php - Tests that #limit_validation_errors of the only submit button takes effect.
- UserAccountFormFieldsTest::testInstallConfigureForm in core/
modules/ user/ tests/ src/ Kernel/ UserAccountFormFieldsTest.php - Tests the root user account form section in the "Configure site" form.
- WeightTest::testProcessWeightSelectMax in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ WeightTest.php - Tests transformation from "select" to "number" for MAX_DELTA + 1.
- WorkspaceIntegrationTest::testFormCacheForEntityForms in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - Tests that entity forms can be stored in the form cache.
- WorkspaceIntegrationTest::testFormCacheForRegularForms in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - Tests that non-entity forms can be stored in the form cache.
- WorkspaceSwitcherBlock::create in core/
modules/ workspaces/ src/ Plugin/ Block/ WorkspaceSwitcherBlock.php