public ConfigurableLanguageInterface::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
File
- core/modules/language/src/ConfigurableLanguageInterface.php, line 32
Class
- ConfigurableLanguageInterface
- Provides an interface defining a language entity.
Namespace
Drupal\language
Code
public function setWeight($weight);
Please login to continue.