The weight of this term.
This property stores the weight of this term in relation to other terms of
the same vocabulary.
Type: integer
File
- drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Term.php, line 101
- Definition of Drupal\taxonomy\Plugin\Core\Entity\Term.
Class
- Term
- Defines the taxonomy term entity.
Namespace
Drupal\taxonomy\Plugin\Core\Entity
Code
public $weight = 0;