ConfigurableLanguageInterface::setWeight

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);
doc_Drupal
2016-10-29 08:55:10
Comments
Leave a Comment

Please login to continue.