Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. VocabularyInterface.php

function VocabularyInterface::setNewRevision

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\taxonomy

Code

public function setNewRevision($new_revision);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal