
| Current Path : /var/www/html/ift/web/core/modules/system/tests/modules/entity_test/src/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/core/modules/system/tests/modules/entity_test/src/EntityTestNoLoadStorage.php |
<?php
namespace Drupal\entity_test;
use Drupal\Core\Entity\EntityStorageException;
use Drupal\Core\Entity\Sql\SqlContentEntityStorage;
/**
* Test storage class used to verify that no load operation is triggered.
*/
class EntityTestNoLoadStorage extends SqlContentEntityStorage {
/**
* {@inheritdoc}
*/
public function load($id) {
throw new EntityStorageException('No load operation is supposed to happen.');
}
}