function LocaleTranslatableProject::getWeight

Same name and namespace in other branches
  1. main core/modules/locale/src/LocaleTranslatableProject.php \Drupal\locale\LocaleTranslatableProject::getWeight()

Returns the weight.

Return value

int Returns the weight.

File

core/modules/locale/src/LocaleTranslatableProject.php, line 121

Class

LocaleTranslatableProject
Translatable project for interface translation.

Namespace

Drupal\locale

Code

public function getWeight() : int {
  return $this->weight;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.