Enforces an entity to be saved as a new revision.
bool $value: (optional) Whether a new revision should be saved.
\LogicException Thrown if the entity does not support revisions.
\Drupal\Core\Entity\EntityInterface::isNewRevision()
public function setNewRevision($value = TRUE);