@@ -122,6 +122,8 @@ public static function createInstance(ContainerInterface $container, EntityTypeI
* {@inheritdoc}
*/
publicfunctionloadRevision($revision_id){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead. See https://www.drupal.org/node/3294237',E_USER_DEPRECATED);
returnNULL;
}
@@ -129,6 +131,8 @@ public function loadRevision($revision_id) {
* {@inheritdoc}
*/
publicfunctiondeleteRevision($revision_id){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead. See https://www.drupal.org/node/3294237',E_USER_DEPRECATED);
@@ -132,6 +132,8 @@ public function doLoadMultiple(array $ids = NULL) {
* {@inheritdoc}
*/
publicfunctionloadRevision($revision_id){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead. See https://www.drupal.org/node/3294237',E_USER_DEPRECATED);
returnNULL;
}
@@ -139,6 +141,8 @@ public function loadRevision($revision_id) {
* {@inheritdoc}
*/
publicfunctiondeleteRevision($revision_id){
@trigger_error(__METHOD__.'() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead. See https://www.drupal.org/node/3294237',E_USER_DEPRECATED);
@@ -629,15 +629,20 @@ public function testLoadMultipleIds() {
/**
* @covers ::loadRevision
* @group legacy
*/
publicfunctiontestLoadRevision(){
$this->expectDeprecation('Drupal\Core\Config\Entity\ConfigEntityStorage::loadRevision() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead. See https://www.drupal.org/node/3294237');
$this->expectDeprecation('Drupal\Core\Config\Entity\ConfigEntityStorage::deleteRevision() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead. See https://www.drupal.org/node/3294237');
@@ -543,8 +543,10 @@ public function testLoadMultipleIds() {
/**
* @covers ::loadRevision
* @group legacy
*/
publicfunctiontestLoadRevision(){
$this->expectDeprecation('Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage::loadRevision() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead. See https://www.drupal.org/node/3294237');
@@ -552,8 +554,10 @@ public function testLoadRevision() {
/**
* @covers ::deleteRevision
* @group legacy
*/
publicfunctiontestDeleteRevision(){
$this->expectDeprecation('Drupal\Core\Entity\KeyValueStore\KeyValueEntityStorage::deleteRevision() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead. See https://www.drupal.org/node/3294237');