You are here

public function ConfigEntityRevisionsTypeInterface::setNewRevision in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionsTypeInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsTypeInterface::setNewRevision()
  2. 1.x src/ConfigEntityRevisionsTypeInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsTypeInterface::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 ConfigEntityRevisionsTypeInterface::setNewRevision()
ConfigEntityRevisionsType::setNewRevision in src/Entity/ConfigEntityRevisionsType.php
Sets whether a new revision should be created by default.

File

src/ConfigEntityRevisionsTypeInterface.php, line 39

Class

ConfigEntityRevisionsTypeInterface
Provides an interface defining a config_entity_revisions type entity.

Namespace

Drupal\config_entity_revisions

Code

public function setNewRevision($new_revision);