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 10.3.x for getWeight
  5. Other projects
Title Object type File name Summary
Block::getWeight function core/modules/block/src/Entity/Block.php
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
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
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
ContactForm::getWeight function core/modules/contact/src/Entity/ContactForm.php
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
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.
DraggableListBuilder::getWeight function core/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php
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
FieldTypeCategoryInterface::getWeight function core/lib/Drupal/Core/Field/FieldTypeCategoryInterface.php Returns the field group weight.
ImageEffectBase::getWeight function core/modules/image/src/ImageEffectBase.php
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
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
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
MenuLinkContent::getWeight function core/modules/menu_link_content/src/Entity/MenuLinkContent.php
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
RoleInterface::getWeight function core/modules/user/src/RoleInterface.php Returns the weight.
SearchPage::getWeight function core/modules/search/src/Entity/SearchPage.php
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
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
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
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.