22 #type uses of 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
Form constructor.
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.
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.
FileSystemForm::buildForm in core/modules/system/src/Form/FileSystemForm.php
Form constructor.
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.
MenuLinkDefaultForm::buildConfigurationForm in core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php
Form constructor.
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.
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.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.