public TermInterface::setWeight($weight)
Gets the weight of this term.
Parameters
int $weight: The term's weight.
Return value
$this
File
- core/modules/taxonomy/src/TermInterface.php, line 83
Class
- TermInterface
- Provides an interface defining a taxonomy term entity.
Namespace
Drupal\taxonomy
Code
public function setWeight($weight);
Please login to continue.