public function CustomLanguage::getWeight in Custom Language field 8
Gets the weight of the language.
Return value
int The weight, used to order languages with larger positive weights sinking items toward the bottom of lists.
Overrides LanguageInterface::getWeight
File
- src/
Entity/ CustomLanguage.php, line 129
Class
- CustomLanguage
- Defines the CustomLanguage entity.
Namespace
Drupal\languagefield\EntityCode
public function getWeight() {
return $this->weight;
}