function RevisionableInterface::updateLoadedRevisionId

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/RevisionableInterface.php \Drupal\Core\Entity\RevisionableInterface::updateLoadedRevisionId()
  2. 8.9.x core/lib/Drupal/Core/Entity/RevisionableInterface.php \Drupal\Core\Entity\RevisionableInterface::updateLoadedRevisionId()
  3. 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()
StubRevisionableEntity::updateLoadedRevisionId in core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php
Updates the loaded Revision ID with the revision ID.

File

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

Class

RevisionableInterface
Provides methods for an entity to support revisions.

Namespace

Drupal\Core\Entity

Code

public function updateLoadedRevisionId();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.