public function ConfigurableLanguageInterface::setWeight in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/ConfigurableLanguageInterface.php \Drupal\language\ConfigurableLanguageInterface::setWeight()
Sets the weight of the language.
Parameters
int $weight: The weight, used to order languages with larger positive weights sinking items toward the bottom of lists.
Return value
$this
1 method overrides ConfigurableLanguageInterface::setWeight()
- ConfigurableLanguage::setWeight in core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php - Sets the weight of the language.
File
- core/
modules/ language/ src/ ConfigurableLanguageInterface.php, line 37 - Contains \Drupal\language\ConfigurableLanguageInterface.
Class
- ConfigurableLanguageInterface
- Provides an interface defining a language entity.
Namespace
Drupal\languageCode
public function setWeight($weight);