You are here

21 #type uses of Weight in Drupal 10

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
ConfigTestForm::form in core/modules/config/tests/config_test/src/ConfigTestForm.php
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
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
SetCustomize::form in core/modules/shortcut/src/Form/SetCustomize.php
Gets the actual form array to be built.
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.