function 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 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.