service form_builder in Drupal 8
Same name and namespace in other branches
- 9 core/core.services.yml \form_builder
Class
Drupal\Core\Form\FormBuilder33 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.
- 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.
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'