public function TaxNumberItemInterface::getAllowedCountries in Commerce Core 8.2
Gets the allowed countries.
Tax numbers will be collected only for these countries.
Return value
string[] A list of country codes.
1 method overrides TaxNumberItemInterface::getAllowedCountries()
- TaxNumberItem::getAllowedCountries in modules/
tax/ src/ Plugin/ Field/ FieldType/ TaxNumberItem.php - Gets the allowed countries.
File
- modules/
tax/ src/ Plugin/ Field/ FieldType/ TaxNumberItemInterface.php, line 51
Class
- TaxNumberItemInterface
- Defines the interface for tax number field items.
Namespace
Drupal\commerce_tax\Plugin\Field\FieldTypeCode
public function getAllowedCountries();