You are here

public function StoreStorageInterface::markAsDefault in Commerce Core 8.2

Marks the provided store as the default.

Parameters

\Drupal\commerce_store\Entity\StoreInterface $store: The new default store.

Deprecated

in commerce:8.x-2.16 and is removed from commerce:3.x.

1 method overrides StoreStorageInterface::markAsDefault()
StoreStorage::markAsDefault in modules/store/src/StoreStorage.php
Marks the provided store as the default.

File

modules/store/src/StoreStorageInterface.php, line 29

Class

StoreStorageInterface
Defines the interface for store storage.

Namespace

Drupal\commerce_store

Code

public function markAsDefault(StoreInterface $store);