Sets whether a new revision should be created by default.
Parameters
bool $new_revision: TRUE if a new revision should be created by default.
1 method overrides VocabularyInterface::setNewRevision()
- Vocabulary::setNewRevision in core/
modules/ taxonomy/ src/ Entity/ Vocabulary.php - Sets whether a new revision should be created by default.
File
- core/
modules/ taxonomy/ src/ VocabularyInterface.php, line 42
Class
- VocabularyInterface
- Provides an interface defining a taxonomy vocabulary entity.
Namespace
Drupal\taxonomyCode
public function setNewRevision($new_revision);