service form_builder in Drupal 9
Same name and namespace in other branches
- 8 core/core.services.yml \form_builder
Class
Drupal\Core\Form\FormBuilder35 string references to form_builder
- AjaxFormBlock::create in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - Creates an instance of the plugin.
- 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Form\FormBuilder
- arguments:
- - '@form_validator'
- - '@form_submitter'
- - '@form_cache'
- - '@module_handler'
- - '@event_dispatcher'
- - '@request_stack'
- - '@class_resolver'
- - '@element_info'
- - '@theme.manager'
- - '@?csrf_token'