You are here

public function LingotekProfileInterface::setWeight in Lingotek Translation 3.6.x

Same name and namespace in other branches
  1. 8 src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  2. 8.2 src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  3. 4.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  4. 3.0.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  5. 3.1.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  6. 3.2.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  7. 3.3.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  8. 3.4.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  9. 3.5.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  10. 3.7.x src/LingotekProfileInterface.php \Drupal\lingotek\LingotekProfileInterface::setWeight()
  11. 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\lingotek

Code

public function setWeight($weight);