function SqlContentEntityStorage::doLoadRevisionFieldItems

Overrides ContentEntityStorageBase::doLoadRevisionFieldItems

File

core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php, line 634

Class

SqlContentEntityStorage
A content entity database storage implementation.

Namespace

Drupal\Core\Entity\Sql

Code

protected function doLoadRevisionFieldItems($revision_id) {
    @trigger_error('"\\Drupal\\Core\\Entity\\ContentEntityStorageBase::doLoadRevisionFieldItems()" is deprecated in Drupal 8.5.x and will be removed before Drupal 9.0.0. "\\Drupal\\Core\\Entity\\ContentEntityStorageBase::doLoadMultipleRevisionsFieldItems()" should be implemented instead. See https://www.drupal.org/node/2924915.', E_USER_DEPRECATED);
    $revisions = $this->doLoadMultipleRevisionsFieldItems([
        $revision_id,
    ]);
    return !empty($revisions) ? reset($revisions) : NULL;
}

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