You are here

service form_builder in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \form_builder

Class

Drupal\Core\Form\FormBuilder
35 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.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Form\FormBuilder
  2. arguments:
  3. - '@form_validator'
  4. - '@form_submitter'
  5. - '@form_cache'
  6. - '@module_handler'
  7. - '@event_dispatcher'
  8. - '@request_stack'
  9. - '@class_resolver'
  10. - '@element_info'
  11. - '@theme.manager'
  12. - '@?csrf_token'