public function TaxNumberTypeManagerInterface::getPluginId in Commerce Core 8.2
Gets the plugin ID for the given country code.
If no country-specific plugin exists, the fallback plugin ID ("other") will be returned.
Parameters
string $country_code: The country code.
Return value
string The plugin ID.
1 method overrides TaxNumberTypeManagerInterface::getPluginId()
- TaxNumberTypeManager::getPluginId in modules/
tax/ src/ TaxNumberTypeManager.php - Gets the plugin ID for the given country code.
File
- modules/
tax/ src/ TaxNumberTypeManagerInterface.php, line 25
Class
- TaxNumberTypeManagerInterface
- Defines the interface for tax number type plugin managers.
Namespace
Drupal\commerce_taxCode
public function getPluginId($country_code);