public function LingotekProfileInterface::setWeight in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8 src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 8.2 src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 4.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.1.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.2.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.3.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.5.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.6.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.7.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
- 3.8.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
Sets the weight of the profile.
Parameters
int $weight: The weight, used to order profiles with larger positive weights sinking items toward the bottom of lists.
Return value
$this
1 method overrides LingotekProfileInterface::setWeight()
- LingotekProfile::setWeight in src/
Entity/ LingotekProfile.php - Sets the weight of the profile.
File
- src/
LingotekProfileInterface.php, line 76
Class
- LingotekProfileInterface
- Provides an interface defining a Lingotek profile entity.
Namespace
Drupal\lingotekCode
public function setWeight($weight);