Search for setWeight

  1. Search 7.x for setWeight
  2. Search 8.9.x for setWeight
  3. Search 10.3.x for setWeight
  4. Search 11.x for setWeight
  5. Other projects
Title Object type File name Summary
Block::setWeight function core/modules/block/src/Entity/Block.php Sets the block weight.
BlockInterface::setWeight function core/modules/block/src/BlockInterface.php Sets the block weight.
ConfigurableLanguage::setWeight function core/modules/language/src/Entity/ConfigurableLanguage.php Sets the weight of the language.
ConfigurableLanguageInterface::setWeight function core/modules/language/src/ConfigurableLanguageInterface.php Sets the weight of the language.
ContactForm::setWeight function core/modules/contact/src/Entity/ContactForm.php Sets the weight.
ContactFormInterface::setWeight function core/modules/contact/src/ContactFormInterface.php Sets the weight.
ImageEffectBase::setWeight function core/modules/image/src/ImageEffectBase.php Sets the weight for this image effect.
ImageEffectInterface::setWeight function core/modules/image/src/ImageEffectInterface.php Sets the weight for this image effect.
JqueryUiLibraryAssetsTest::testProperlySetWeights function core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php Confirm assets are weighted so they load in the correct order.
Role::setWeight function core/modules/user/src/Entity/Role.php Sets the weight to the given value.
RoleInterface::setWeight function core/modules/user/src/RoleInterface.php Sets the weight to the given value.
SectionComponent::setWeight function core/modules/layout_builder/src/SectionComponent.php Sets the weight of the component.
Shortcut::setWeight function core/modules/shortcut/src/Entity/Shortcut.php Sets the weight among shortcuts with the same depth.
ShortcutInterface::setWeight function core/modules/shortcut/src/ShortcutInterface.php Sets the weight among shortcuts with the same depth.
Term::setWeight function core/modules/taxonomy/src/Entity/Term.php Sets the term weight.
TermInterface::setWeight function core/modules/taxonomy/src/TermInterface.php Sets the term weight.
TermStorage::resetWeights function core/modules/taxonomy/src/TermStorage.php Reset the weights for a given vocabulary ID.
TermStorageInterface::resetWeights function core/modules/taxonomy/src/TermStorageInterface.php Reset the weights for a given vocabulary ID.
VariantBase::setWeight function core/lib/Drupal/Core/Display/VariantBase.php Sets the weight of the display variant.
VariantInterface::setWeight function core/lib/Drupal/Core/Display/VariantInterface.php Sets the weight of the display variant.

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