public function StoreInterface::setDefault in Commerce Core 8.2
Sets whether this is the default store.
Parameters
bool $is_default: Whether this is the default store.
Return value
$this
1 method overrides StoreInterface::setDefault()
- Store::setDefault in modules/
store/ src/ Entity/ Store.php - Sets whether this is the default store.
File
- modules/
store/ src/ Entity/ StoreInterface.php, line 161
Class
- StoreInterface
- Defines the interface for stores.
Namespace
Drupal\commerce_store\EntityCode
public function setDefault($is_default);