function StubRevisionableEntity::getRevisionId

Overrides RevisionableInterface::getRevisionId

File

core/tests/Drupal/Tests/Core/Entity/StubRevisionableEntity.php, line 31

Class

StubRevisionableEntity
A stub revisionable entity for testing purposes.

Namespace

Drupal\Tests\Core\Entity

Code

public function getRevisionId() : int|string|null {
    return NULL;
}

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