You are here

public function ConfigEntityRevisionsTypeInterface::setNewRevision in Config Entity Revisions 1.x

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionsTypeInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsTypeInterface::setNewRevision()
  2. 8 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);