Skip to content

Commit b61426d

Browse files
authored
Fix wrongly deprecated method RevisionableStorageInterface::loadRevision (#980)
Fix wrongly deprecated methods of RevisionableStorageInterface
1 parent c954592 commit b61426d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

stubs/Drupal/Core/Entity/RevisionableStorageInterface.stub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ interface RevisionableStorageInterface extends EntityStorageInterface {
77
/**
88
* @param int|numeric-string|string $revision_id
99
* @return \Drupal\Core\Entity\RevisionableInterface|null
10+
* @not-deprecated
1011
*/
1112
public function loadRevision($revision_id);
1213

1314
/**
1415
* @param int|numeric-string|string $revision_id
16+
* @not-deprecated
1517
*/
1618
public function deleteRevision($revision_id): void;
1719

0 commit comments

Comments
 (0)