45 #type uses of Item
- AddFormBase::buildEntityFormElement in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Builds the sub-form for setting required fields on a new media item.
- AddHandler::buildForm in core/
modules/ views_ui/ src/ Form/ Ajax/ AddHandler.php - Form constructor.
- AjaxTestImageEffect::ajaxCallback in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ ImageEffect/ AjaxTestImageEffect.php - AJAX callback.
- AjaxTestImageEffect::buildConfigurationForm in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ ImageEffect/ AjaxTestImageEffect.php - ArgumentPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - Provide a form to edit options for this plugin.
- ArgumentPluginBase::defaultArgumentForm in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - Provides a form for selecting the default argument.
- ArgumentPluginBase::defaultSummaryForm in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - Provides a form for selecting summary options.
- BlockInterfaceTest::testBlockInterface in core/
modules/ block/ tests/ src/ Kernel/ BlockInterfaceTest.php - Tests 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.
- CommentTypeForm::form in core/
modules/ comment/ src/ CommentTypeForm.php - Gets the actual form array to be built.
- ContentLanguageSettingsForm::buildForm in core/
modules/ language/ src/ Form/ ContentLanguageSettingsForm.php - Form constructor.
- CredentialForm::buildForm in core/
modules/ migrate_drupal_ui/ src/ Form/ CredentialForm.php - Form constructor.
- DbUpdateController::selection in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Renders a list of available database updates.
- editor_image_upload_settings_form in core/
modules/ editor/ editor.admin.inc - Subform constructor to configure the text editor's image upload settings.
- EntityModerationForm::buildForm in core/
modules/ content_moderation/ src/ Form/ EntityModerationForm.php - Form constructor.
- 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.
- FileSystemForm::buildForm in core/
modules/ system/ src/ Form/ FileSystemForm.php - Form constructor.
- FilterFormatFormBase::form in core/
modules/ filter/ src/ FilterFormatFormBase.php - Gets the actual form array to be built.
- FormElementBase::getSourceElement in core/
modules/ config_translation/ src/ FormElement/ FormElementBase.php - Returns the source element for a given configuration definition.
- FormElementsRenderTest::testDrupalRenderFormElements in core/
modules/ system/ tests/ src/ Kernel/ Common/ FormElementsRenderTest.php - Tests rendering form elements without using doBuildForm().
- FormHelperTest::providerElements in core/
tests/ Drupal/ Tests/ Core/ Form/ FormHelperTest.php - Provides a list of elements to test.
- FormTestStoragePageCacheForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestStoragePageCacheForm.php - Form constructor.
- ImageItem::fieldSettingsForm in core/
modules/ image/ src/ Plugin/ Field/ FieldType/ ImageItem.php - Returns a form for the field-level settings.
- ImageStyleEditForm::form in core/
modules/ image/ src/ Form/ ImageStyleEditForm.php - Gets the actual form array to be built.
- IncrementalForm::buildForm in core/
modules/ migrate_drupal_ui/ src/ Form/ IncrementalForm.php - Form constructor.
- JavascriptStatesForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ JavascriptStatesForm.php - Form constructor.
- LanguageFormBase::commonForm in core/
modules/ language/ src/ Form/ LanguageFormBase.php - Common elements of the language addition and editing form.
- layout_builder_test_form_layout_builder_configure_block_alter in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ layout_builder_test.module - Implements hook_form_BASE_FORM_ID_alter() for layout_builder_configure_block.
- layout_builder_test_form_layout_builder_configure_section_alter in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ layout_builder_test.module - Implements hook_form_BASE_FORM_ID_alter() for layout_builder_configure_section.
- ListItemBase::storageSettingsForm in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListItemBase.php - Returns a form for the storage-level settings.
- media_form_field_ui_field_storage_add_form_alter in core/
modules/ media/ media.module - Implements hook_form_FORM_ID_alter().
- MenuLinkDefaultForm::buildConfigurationForm in core/
lib/ Drupal/ Core/ Menu/ Form/ MenuLinkDefaultForm.php - Form constructor.
- MessageForm::form in core/
modules/ contact/ src/ MessageForm.php - Gets the actual form array to be built.
- ModerationStateWidget::formElement in core/
modules/ content_moderation/ src/ Plugin/ Field/ FieldWidget/ ModerationStateWidget.php - Returns the form for a single field widget.
- NodeForm::form in core/
modules/ node/ src/ NodeForm.php - Gets the actual form array to be built.
- NodeViewBuilder::buildComponents in core/
modules/ node/ src/ NodeViewBuilder.php - Builds the component fields and properties of a set of entities.
- PluralVariants::getSourceElement in core/
modules/ config_translation/ src/ FormElement/ PluralVariants.php - Returns the source element for a given configuration definition.
- SelectLanguageForm::buildForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SelectLanguageForm.php - Form constructor.
- SelectProfileForm::buildForm in core/
lib/ Drupal/ Core/ Installer/ Form/ SelectProfileForm.php - Form constructor.
- TranslateEditForm::buildForm in core/
modules/ locale/ src/ Form/ TranslateEditForm.php - Form constructor.
- UserMultipleCancelConfirm::buildForm in core/
modules/ user/ src/ Form/ UserMultipleCancelConfirm.php - Form constructor.
- user_user_view in core/
modules/ user/ user.module - Implements hook_ENTITY_TYPE_view() for user entities.
- WorkspaceSwitcherForm::buildForm in core/
modules/ workspaces/ src/ Form/ WorkspaceSwitcherForm.php - Form constructor.
- WorkspaceViewBuilder::buildComponents in core/
modules/ workspaces/ src/ WorkspaceViewBuilder.php - Builds the component fields and properties of a set of entities.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.