You are here

public function LanguageInterface::getWeight in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::getWeight()

Gets the weight of the language.

Return value

int The weight, used to order languages with larger positive weights sinking items toward the bottom of lists.

2 methods override LanguageInterface::getWeight()
ConfigurableLanguage::getWeight in core/modules/language/src/Entity/ConfigurableLanguage.php
Gets the weight of the language.
Language::getWeight in core/lib/Drupal/Core/Language/Language.php
Gets the weight of the language.

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 136
Contains \Drupal\Core\Language\LanguageInterface.

Class

LanguageInterface
Defines a language.

Namespace

Drupal\Core\Language

Code

public function getWeight();