function ConfigurableLanguage::setWeight
Same name in other branches
- 9 core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::setWeight()
- 8.9.x core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::setWeight()
- 11.x core/modules/language/src/Entity/ConfigurableLanguage.php \Drupal\language\Entity\ConfigurableLanguage::setWeight()
Overrides ConfigurableLanguageInterface::setWeight
File
-
core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php, line 257
Class
- ConfigurableLanguage
- Defines the ConfigurableLanguage entity.
Namespace
Drupal\language\EntityCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.