Vocabulary::$weight

The weight of this vocabulary in relation to other vocabularies.

Type: int

File

core/modules/taxonomy/src/Entity/Vocabulary.php, line 90

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

protected $weight = 0;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.