You are here

public function MongodbTermStorage::resetWeights in MongoDB 8

Reset the weights for a given vocabulary ID.

Parameters

string $vid: Vocabulary ID to retrieve terms for.

Overrides TermStorageInterface::resetWeights

File

mongodb_taxonomy/src/MongodbTermStorage.php, line 121
Contains \Drupal\mongodb_taxonomy\MongodbTermStorage.

Class

MongodbTermStorage

Namespace

Drupal\mongodb_taxonomy

Code

public function resetWeights($vid) {

  // TODO: Implement resetWeights() method.
}