You are here

service form_builder in Drupal 10

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

Class

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

... 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'