public ConfigurableLanguage::setWeight($weight)
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
Overrides ConfigurableLanguageInterface::setWeight
File
- core/modules/language/src/Entity/ConfigurableLanguage.php, line 229
Class
- ConfigurableLanguage
- Defines the ConfigurableLanguage entity.
Namespace
Drupal\language\Entity
Code
1 2 3 4 | public function setWeight( $weight ) { $this ->weight = $weight ; return $this ; } |
Please login to continue.