56 #type uses of Value
- ActionFormBase::form in core/
modules/ action/ src/ Form/ ActionFormBase.php - Gets the actual form array to be built.
- BlockForm::form in core/
modules/ block/ src/ BlockForm.php - Gets the actual form array to be built.
- BlockInterfaceTest::testBlockInterface in core/
modules/ block/ tests/ src/ Kernel/ BlockInterfaceTest.php - Test configuration and subsequent form() and build() method calls.
- BlockPluginTrait::buildConfigurationForm in core/
lib/ Drupal/ Core/ Block/ BlockPluginTrait.php - Creates a generic configuration form for all block types. Individual block plugins can add elements to this form by overriding BlockBase::blockForm(). Most block plugins should not override this method unless they need to alter the generic form elements.
- BookAdminEditForm::bookAdminTable in core/
modules/ book/ src/ Form/ BookAdminEditForm.php - Builds the table portion of the form for the book administration page.
- BookManager::addFormElements in core/
modules/ book/ src/ BookManager.php - Builds the common elements of the book form for the node and outline forms.
- color_scheme_form in core/
modules/ color/ color.module - Form constructor for the color configuration form for a particular theme.
- ConfigHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ConfigHandler.php - Form constructor.
- ContextAwarePluginAssignmentTrait::addContextAssignmentElement in core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginAssignmentTrait.php - Builds a form element for assigning a context to a given slot.
- DefaultSelection::buildConfigurationForm in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ DefaultSelection.php - Form constructor.
- DisplayPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Provide a form to edit options for this plugin.
- ElementTest::providerVisibleChildren in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - Data provider for testVisibleChildren.
- EntityField::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ field/ EntityField.php - Default options form that provides the label widget that all fields should have.
- ExportForm::buildForm in core/
modules/ locale/ src/ Form/ ExportForm.php - Form constructor.
- FieldStorageAddForm::buildForm in core/
modules/ field_ui/ src/ Form/ FieldStorageAddForm.php - Form constructor.
- FilterPluginBase::buildExposeForm in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - Options form subform for exposed filter options.
- FormErrorHandlerTest::setUp in core/
modules/ inline_form_errors/ tests/ src/ Unit/ FormErrorHandlerTest.php - FormErrorHandlerTest::testDisplayErrorMessages in core/
tests/ Drupal/ Tests/ Core/ Form/ FormErrorHandlerTest.php - @covers ::handleFormErrors @covers ::displayErrorMessages
- FormTestFormStateValuesCleanForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestFormStateValuesCleanForm.php - Form constructor.
- forum_form_node_form_alter in core/
modules/ forum/ forum.module - Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
- HandlerBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php - Provide a form to edit options for this plugin.
- ImageEffectFormBase::buildForm in core/
modules/ image/ src/ Form/ ImageEffectFormBase.php - ImageItem::defaultImageForm in core/
modules/ image/ src/ Plugin/ Field/ FieldType/ ImageItem.php - Builds the default_image details element.
- Language::buildConfigurationForm in core/
modules/ language/ src/ Plugin/ Condition/ Language.php - Form constructor.
- LanguageFormBase::commonForm in core/
modules/ language/ src/ Form/ LanguageFormBase.php - Common elements of the language addition and editing form.
- LayoutBuilderEntityViewDisplayForm::form in core/
modules/ layout_builder/ src/ Form/ LayoutBuilderEntityViewDisplayForm.php - Gets the actual form array to be built.
- LinkWidget::formElement in core/
modules/ link/ src/ Plugin/ Field/ FieldWidget/ LinkWidget.php - Returns the form for a single field widget.
- MenuLinkDefaultForm::buildConfigurationForm in core/
lib/ Drupal/ Core/ Menu/ Form/ MenuLinkDefaultForm.php - Form constructor.
- MenuLinkEditForm::buildForm in core/
modules/ menu_ui/ src/ Form/ MenuLinkEditForm.php - menu_ui_form_node_form_alter in core/
modules/ menu_ui/ menu_ui.module - Implements hook_form_BASE_FORM_ID_alter() for \Drupal\node\NodeForm.
- NodePreviewForm::buildForm in core/
modules/ node/ src/ Form/ NodePreviewForm.php - Form constructor.
- NumericField::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ field/ NumericField.php - Default options form that provides the label widget that all fields should have.
- NumericFilter::valueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ NumericFilter.php - Provide a simple textfield for equality
- Page::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Provide a form to edit options for this plugin.
- PathWidget::formElement in core/
modules/ path/ src/ Plugin/ Field/ FieldWidget/ PathWidget.php - Returns the form for a single field widget.
- PrepareModulesEntityUninstallForm::buildForm in core/
modules/ system/ src/ Form/ PrepareModulesEntityUninstallForm.php - Form constructor.
- RegisterForm::form in core/
modules/ user/ src/ RegisterForm.php - Gets the actual form array to be built.
- ReorderDisplays::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ ReorderDisplays.php - Form constructor.
- RoleForm::form in core/
modules/ user/ src/ RoleForm.php - Gets the actual form array to be built.
- RowPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ row/ RowPluginBase.php - Provide a form for setting options.
- SearchPageForm::buildForm in core/
modules/ search/ src/ Form/ SearchPageForm.php - Form constructor.
- SearchPageFormBase::form in core/
modules/ search/ src/ Form/ SearchPageFormBase.php - Gets the actual form array to be built.
- SiteSettingsForm::buildForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SiteSettingsForm.php - Form constructor.
- StringFilter::valueForm in core/
modules/ views/ src/ Plugin/ views/ filter/ StringFilter.php - Provide a simple textfield for equality
- TermForm::form in core/
modules/ taxonomy/ src/ TermForm.php - Gets the actual form array to be built.
- test_form_id in core/
tests/ Drupal/ Tests/ Core/ Form/ fixtures/ form_base_test.inc - Creates a test form.
- TextareaWithSummaryWidget::formElement in core/
modules/ text/ src/ Plugin/ Field/ FieldWidget/ TextareaWithSummaryWidget.php - Returns the form for a single field widget.
- TranslateEditForm::buildForm in core/
modules/ locale/ src/ Form/ TranslateEditForm.php - Form constructor.
- TranslationStatusForm::buildForm in core/
modules/ locale/ src/ Form/ TranslationStatusForm.php - Form builder for displaying the current translation status.
- UpdateManagerUpdate::buildForm in core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php - Form constructor.
- UserCancelForm::buildForm in core/
modules/ user/ src/ Form/ UserCancelForm.php - Form constructor.
- UserPermissionsForm::buildForm in core/
modules/ user/ src/ Form/ UserPermissionsForm.php - Form constructor.
- ViewsForm::buildForm in core/
modules/ views/ src/ Form/ ViewsForm.php - Form constructor.
- ViewsFormMainForm::buildForm in core/
modules/ views/ src/ Form/ ViewsFormMainForm.php - Form constructor.
- VocabularyForm::form in core/
modules/ taxonomy/ src/ VocabularyForm.php - Gets the actual form array to be built.
- WorkflowTransitionEditForm::form in core/
modules/ workflows/ src/ Form/ WorkflowTransitionEditForm.php - Gets the actual form array to be built.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.