function Vocabulary::setNewRevision

Same name in other branches
  1. 11.x core/modules/taxonomy/src/Entity/Vocabulary.php \Drupal\taxonomy\Entity\Vocabulary::setNewRevision()

Overrides VocabularyInterface::setNewRevision

File

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

Class

Vocabulary
Defines the taxonomy vocabulary entity.

Namespace

Drupal\taxonomy\Entity

Code

public function setNewRevision($new_revision) {
    $this->new_revision = $new_revision;
}

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