You are here

public function BillingCountryCondition::countryOptions in Ubercart 8.4

Returns an array of country options.

Return value

array An array of 2-character country codes keyed by country name.

File

uc_order/src/Plugin/Condition/BillingCountryCondition.php, line 83

Class

BillingCountryCondition
Provides an 'Order billing country' condition.

Namespace

Drupal\uc_order\Plugin\Condition

Code

public function countryOptions() {
  return $this->countryManager
    ->getEnabledList();
}