You are here

public function RevisionableInterface::updateLoadedRevisionId in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/RevisionableInterface.php \Drupal\Core\Entity\RevisionableInterface::updateLoadedRevisionId()
  2. 10 core/lib/Drupal/Core/Entity/RevisionableInterface.php \Drupal\Core\Entity\RevisionableInterface::updateLoadedRevisionId()

Updates the loaded Revision ID with the revision ID.

This method should not be used, it could unintentionally cause the original revision ID property value to be lost.

@internal

Return value

$this

1 method overrides RevisionableInterface::updateLoadedRevisionId()
ContentEntityBase::updateLoadedRevisionId in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Updates the loaded Revision ID with the revision ID.

File

core/lib/Drupal/Core/Entity/RevisionableInterface.php, line 76

Class

RevisionableInterface
Provides methods for an entity to support revisions.

Namespace

Drupal\Core\Entity

Code

public function updateLoadedRevisionId();