function LocaleTranslatableProject::setWeight

Sets the weight.

Parameters

int $weight: The weight.

Return value

$this

File

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

Class

LocaleTranslatableProject
Translatable project for interface translation.

Namespace

Drupal\locale

Code

public function setWeight(int $weight) : static {
  $this->weight = $weight;
  return $this;
}

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