24 #type uses of Weight

BlockListBuilder::buildBlocksForm in core/modules/block/src/BlockListBuilder.php
Builds the main "Blocks" portion of the form.
BookAdminEditForm::bookAdminTableTree in core/modules/book/src/Form/BookAdminEditForm.php
Helps build the main table in the book administration page form.
BookManager::addFormElements in core/modules/book/src/BookManager.php
Builds the common elements of the book form for the node and outline forms.
ConfigTestForm::form in core/modules/config/tests/config_test/src/ConfigTestForm.php
Gets the actual form array to be built.
ContactFormEditForm::form in core/modules/contact/src/ContactFormEditForm.php
Gets the actual form array to be built.
DraggableListBuilder::buildRow in core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php
Builds a row for an entity in the entity listing.
FileWidget::formMultipleElements in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
FileWidget::processMultiple in core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php
Form API callback: Processes a group of file_generic field elements.
FilterFormatFormBase::form in core/modules/filter/src/FilterFormatFormBase.php
Gets the actual form array to be built.
FilterPluginBase::buildExposedFiltersGroupForm in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Build the form to let users create the group of exposed filters.
ImageStyleEditForm::form in core/modules/image/src/Form/ImageStyleEditForm.php
Gets the actual form array to be built.
IndexTidDepth::buildOptionsForm in core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php
Provide a form to edit options for this plugin.
MediaLibraryWidget::settingsForm in core/modules/media_library/src/Plugin/Field/FieldWidget/MediaLibraryWidget.php
Returns a form to configure settings for the widget.
MenuForm::buildOverviewTreeForm in core/modules/menu_ui/src/MenuForm.php
Recursive helper function for buildOverviewForm().
MoveBlockForm::buildForm in core/modules/layout_builder/src/Form/MoveBlockForm.php
Builds the move block form.
NegotiationConfigureForm::configureFormTable in core/modules/language/src/Form/NegotiationConfigureForm.php
Builds a language negotiation method configuration table.
OverviewTerms::buildForm in core/modules/taxonomy/src/Form/OverviewTerms.php
Form constructor.
ReorderDisplays::buildForm in core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php
Form constructor.
SetCustomize::form in core/modules/shortcut/src/Form/SetCustomize.php
Gets the actual form array to be built.
TableDragTestForm::buildTestTable in core/modules/system/tests/modules/tabledrag_test/src/Form/TableDragTestForm.php
Builds the draggable test table.
TaxonomyIndexTidDepth::buildExtraOptionsForm in core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTidDepth.php
Provide a form for setting options.
WeightTest::testProcessWeightSelectMax in core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
Tests transformation from "select" to "number" for MAX_DELTA + 1.
WidgetBase::formMultipleElements in core/lib/Drupal/Core/Field/WidgetBase.php
Special handling to create form elements for multiple values.
WorkflowEditForm::form in core/modules/workflows/src/Form/WorkflowEditForm.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.