You are here

public function ReferenceTypeInterface::setNewRevision in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Entity/ReferenceTypeInterface.php \Drupal\bibcite_entity\Entity\ReferenceTypeInterface::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 ReferenceTypeInterface::setNewRevision()
ReferenceType::setNewRevision in modules/bibcite_entity/src/Entity/ReferenceType.php
Sets whether a new revision should be created by default.

File

modules/bibcite_entity/src/Entity/ReferenceTypeInterface.php, line 19

Class

ReferenceTypeInterface
Provides an interface for defining Reference type entities.

Namespace

Drupal\bibcite_entity\Entity

Code

public function setNewRevision($new_revision);