You are here

public function ReferenceType::shouldCreateNewRevision in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Entity/ReferenceType.php \Drupal\bibcite_entity\Entity\ReferenceType::shouldCreateNewRevision()

Gets whether a new revision should be created by default.

Return value

bool TRUE if a new revision should be created by default.

Overrides RevisionableEntityBundleInterface::shouldCreateNewRevision

File

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

Class

ReferenceType
Defines the Reference type entity.

Namespace

Drupal\bibcite_entity\Entity

Code

public function shouldCreateNewRevision() {
  return $this->new_revision;
}