TermInterface::setWeight

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

1
public function setWeight($weight);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.