3 namespace Drupal\entity_test;
5 use Drupal\Core\Entity\EntityStorageException;
6 use Drupal\Core\Entity\Sql\SqlContentEntityStorage;
9 * Test storage class used to verify that no load operation is triggered.
11 class EntityTestNoLoadStorage extends SqlContentEntityStorage {
16 public function load($id) {
17 throw new EntityStorageException('No load operation is supposed to happen.');