You are here

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

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Entity/ReferenceType.php \Drupal\bibcite_entity\Entity\ReferenceType::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.

Overrides ReferenceTypeInterface::setNewRevision

File

modules/bibcite_entity/src/Entity/ReferenceType.php, line 81

Class

ReferenceType
Defines the Reference type entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function setNewRevision($new_revision) {
  $this->new_revision = $new_revision;
}