You are here

public function Store::setBillingCountries in Commerce Core 8.2

Sets the store billing countries.

Parameters

array $countries: A list of country codes.

Return value

$this

Overrides StoreInterface::setBillingCountries

File

modules/store/src/Entity/Store.php, line 193

Class

Store
Defines the store entity class.

Namespace

Drupal\commerce_store\Entity

Code

public function setBillingCountries(array $countries) {
  $this
    ->set('billing_countries', $countries);
  return $this;
}