38 string references to form_builder
- ActionListBuilder::createInstance in core/
modules/ action/ src/ ActionListBuilder.php - ActionListBuilder::__construct in core/
modules/ action/ src/ ActionListBuilder.php - Constructs a new ActionListBuilder object.
- AjaxFormBlock::create in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - BlockListBuilder::createInstance in core/
modules/ block/ src/ BlockListBuilder.php - 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.
- 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 - 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::testValidationErrorMessagesSortedWithWeight 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.
- PathAliasListBuilder::createInstance in core/
modules/ path/ src/ PathAliasListBuilder.php - PathElementFormTest::testPathElement in core/
tests/ Drupal/ KernelTests/ Core/ Element/ PathElementFormTest.php - Tests that default handlers are added even if custom are specified.
- QueueSerializationTest::testQueueSerialization in core/
tests/ Drupal/ KernelTests/ Core/ Queue/ QueueSerializationTest.php - Tests queue injection serialization.
- RedirectFormBlock::create in core/
modules/ system/ tests/ modules/ form_test/ src/ Plugin/ Block/ RedirectFormBlock.php - SearchBlock::create in core/
modules/ search/ src/ Plugin/ Block/ SearchBlock.php - SystemController::create in core/
modules/ system/ src/ Controller/ SystemController.php - TestFormApiFormBlock::create in core/
modules/ layout_builder/ tests/ modules/ layout_builder_form_block_test/ src/ Plugin/ Block/ TestFormApiFormBlock.php - 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.
- UserLoginBlock::create in core/
modules/ user/ src/ Plugin/ Block/ UserLoginBlock.php - UserLoginBlock::__construct in core/
modules/ user/ src/ Plugin/ Block/ UserLoginBlock.php - Constructs a new UserLoginBlock instance.
- 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
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.