Skip to content

Commit 5c430da

Browse files
committed
StoreStorageInterface and LogStorageInterface should extend ContentEntityStorageInterface.
This matches other Commerce entity types, and core entity types.
1 parent a0be96f commit 5c430da

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

modules/log/src/LogStorageInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace Drupal\commerce_log;
44

55
use Drupal\Core\Entity\ContentEntityInterface;
6-
use Drupal\Core\Entity\Sql\SqlEntityStorageInterface;
6+
use Drupal\Core\Entity\ContentEntityStorageInterface;
77

8-
interface LogStorageInterface extends SqlEntityStorageInterface {
8+
interface LogStorageInterface extends ContentEntityStorageInterface {
99

1010
/**
1111
* Generates a log.

modules/store/src/StoreStorageInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
namespace Drupal\commerce_store;
44

55
use Drupal\commerce_store\Entity\StoreInterface;
6+
use Drupal\Core\Entity\ContentEntityStorageInterface;
67

78
/**
89
* Defines the interface for store storage.
910
*/
10-
interface StoreStorageInterface {
11+
interface StoreStorageInterface extends ContentEntityStorageInterface {
1112

1213
/**
1314
* Loads the default store.

0 commit comments

Comments
 (0)