Same name and namespace in other branches
  1. 8.9.x core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::weight
  2. 9 core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::weight

The weight of this vocabulary in relation to other vocabularies.

Type: int

File

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

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

protected $weight = 0;