function TermStorageInterface::resetWeights

Same name in other branches
  1. 9 core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::resetWeights()
  2. 10 core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::resetWeights()
  3. 11.x core/modules/taxonomy/src/TermStorageInterface.php \Drupal\taxonomy\TermStorageInterface::resetWeights()

Reset the weights for a given vocabulary ID.

Parameters

string $vid: Vocabulary ID to retrieve terms for.

1 method overrides TermStorageInterface::resetWeights()
TermStorage::resetWeights in core/modules/taxonomy/src/TermStorage.php
Reset the weights for a given vocabulary ID.

File

core/modules/taxonomy/src/TermStorageInterface.php, line 111

Class

TermStorageInterface
Defines an interface for taxonomy_term entity storage classes.

Namespace

Drupal\taxonomy

Code

public function resetWeights($vid);

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