Search for getWeight

  1. Search 7.x for getWeight
  2. Search 9.5.x for getWeight
  3. Search 8.9.x for getWeight
  4. Search 11.x for getWeight
  5. Other projects
Title Object type File name Summary
Block::getWeight function core/modules/block/src/Entity/Block.php Returns the weight of this block (used for sorting).
BlockInterface::getWeight function core/modules/block/src/BlockInterface.php Returns the weight of this block (used for sorting).
Breakpoint::getWeight function core/modules/breakpoint/src/Breakpoint.php Returns the weight.
BreakpointInterface::getWeight function core/modules/breakpoint/src/BreakpointInterface.php Returns the weight.
BreakpointTest::testGetWeight function core/modules/breakpoint/tests/src/Unit/BreakpointTest.php @covers ::getWeight[[api-linebreak]]
ContextualLinkDefault::getWeight function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the weight of the contextual link.
ContextualLinkDefaultTest::testGetWeight function core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php @covers ::getWeight[[api-linebreak]]
ContextualLinkInterface::getWeight function core/lib/Drupal/Core/Menu/ContextualLinkInterface.php Returns the weight of the contextual link.
DisplayVariantTest::testGetWeight function core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php Tests the getWeight() method.
DisplayVariantTest::testGetWeightDefault function core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php Tests the getWeight() method using a default value.
DraggableListBuilder::getWeight function core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php Gets the weight of the given entity.
DraggableListBuilderTrait::getWeight function core/lib/Drupal/Core/Entity/DraggableListBuilderTrait.php Gets the weight of the given entity.
FieldTypeCategory::getWeight function core/lib/Drupal/Core/Field/FieldTypeCategory.php Returns the field group weight.
FieldTypeCategoryInterface::getWeight function core/lib/Drupal/Core/Field/FieldTypeCategoryInterface.php Returns the field group weight.
ImageEffectBase::getWeight function core/modules/image/src/ImageEffectBase.php Returns the weight of the image effect.
ImageEffectInterface::getWeight function core/modules/image/src/ImageEffectInterface.php Returns the weight of the image effect.
Language::getWeight function core/lib/Drupal/Core/Language/Language.php Gets the weight of the language.
LanguageInterface::getWeight function core/lib/Drupal/Core/Language/LanguageInterface.php Gets the weight of the language.
LocalActionDefault::getWeight function core/lib/Drupal/Core/Menu/LocalActionDefault.php Returns the weight for the local action.
LocalActionInterface::getWeight function core/lib/Drupal/Core/Menu/LocalActionInterface.php Returns the weight for the local action.
LocalTaskDefault::getWeight function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Returns the weight of the local task.
LocalTaskDefaultTest::providerTestGetWeight function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php Defines a data provider for testGetWeight().
LocalTaskDefaultTest::testGetWeight function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @dataProvider providerTestGetWeight
@covers ::getWeight[[api-linebreak]]
LocalTaskInterface::getWeight function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Returns the weight of the local task.
MenuLinkBase::getWeight function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the weight of the menu link.
MenuLinkInterface::getWeight function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the weight of the menu link.
Role::getWeight function core/modules/user/src/Entity/Role.php Returns the weight.
RoleInterface::getWeight function core/modules/user/src/RoleInterface.php Returns the weight.
SearchPage::getWeight function core/modules/search/src/Entity/SearchPage.php Returns the weight for the page.
SearchPageInterface::getWeight function core/modules/search/src/SearchPageInterface.php Returns the weight for the page.
Term::getWeight function core/modules/taxonomy/src/Entity/Term.php Gets the term weight.
TermInterface::getWeight function core/modules/taxonomy/src/TermInterface.php Gets the term weight.
VariantBase::getWeight function core/lib/Drupal/Core/Display/VariantBase.php Returns the weight of the display variant.
VariantInterface::getWeight function core/lib/Drupal/Core/Display/VariantInterface.php Returns the weight of the display variant.

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