Search for getWeight

  1. Search 7.x for getWeight
  2. Search 9.5.x for getWeight
  3. Search 10.3.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
ConfigMapperInterface::getWeight function core/modules/config_translation/src/ConfigMapperInterface.php Returns the weight of the mapper.
ConfigNamesMapper::getWeight function core/modules/config_translation/src/ConfigNamesMapper.php Returns the weight of the mapper.
ConfigNamesMapperTest::testGetWeight function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::getWeight().
ConfigurableLanguage::getWeight function core/modules/language/src/Entity/ConfigurableLanguage.php Gets the weight of the language.
ContactForm::getWeight function core/modules/contact/src/Entity/ContactForm.php Returns the weight of this category (used for sorting).
ContactFormInterface::getWeight function core/modules/contact/src/ContactFormInterface.php Returns the weight of this category (used for sorting).
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
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.
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
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.
MenuLinkContent::getWeight function core/modules/menu_link_content/src/Entity/MenuLinkContent.php Returns the weight of the menu link content entity.
MenuLinkContentInterface::getWeight function core/modules/menu_link_content/src/MenuLinkContentInterface.php Returns the weight of the menu link content entity.
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.
SectionComponent::getWeight function core/modules/layout_builder/src/SectionComponent.php Gets the weight of the component.
SectionStorageDefinition::getWeight function core/modules/layout_builder/src/SectionStorage/SectionStorageDefinition.php Returns the plugin weight.
Shortcut::getWeight function core/modules/shortcut/src/Entity/Shortcut.php Returns the weight among shortcuts with the same depth.
ShortcutInterface::getWeight function core/modules/shortcut/src/ShortcutInterface.php Returns the weight among shortcuts with the same depth.
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.
TipPluginBase::getWeight function core/modules/tour/src/TipPluginBase.php Returns weight of the tip.
TipPluginInterface::getWeight function core/modules/tour/src/TipPluginInterface.php Returns weight of the tip.
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.