public function ReferenceType::setNewRevision in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x 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\EntityCode
public function setNewRevision($new_revision) {
$this->new_revision = $new_revision;
}