
| Current Path : /var/www/html/store/web/modules/contrib/commerce/modules/store/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/store/web/modules/contrib/commerce/modules/store/src/StoreStorageInterface.php |
<?php
namespace Drupal\commerce_store;
use Drupal\commerce_store\Entity\StoreInterface;
use Drupal\Core\Entity\ContentEntityStorageInterface;
/**
* Defines the interface for store storage.
*/
interface StoreStorageInterface extends ContentEntityStorageInterface {
/**
* Loads the default store.
*
* @return \Drupal\commerce_store\Entity\StoreInterface|null
* The default store, if known.
*/
public function loadDefault();
/**
* Marks the provided store as the default.
*
* @param \Drupal\commerce_store\Entity\StoreInterface $store
* The new default store.
*
* @deprecated in commerce:8.x-2.16 and is removed from commerce:3.x.
*/
public function markAsDefault(StoreInterface $store);
}