interface TaxNumberTypeManagerInterface in Commerce Core 8.2
Defines the interface for tax number type plugin managers.
Hierarchy
- interface \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Component\Plugin\FallbackPluginManagerInterface
- interface \Drupal\commerce_tax\TaxNumberTypeManagerInterface
Expanded class hierarchy of TaxNumberTypeManagerInterface
All classes that implement TaxNumberTypeManagerInterface
1 file declares its use of TaxNumberTypeManagerInterface
- TaxNumberDefaultWidget.php in modules/
tax/ src/ Plugin/ Field/ FieldWidget/ TaxNumberDefaultWidget.php
File
- modules/
tax/ src/ TaxNumberTypeManagerInterface.php, line 11
Namespace
Drupal\commerce_taxView source
interface TaxNumberTypeManagerInterface extends PluginManagerInterface, FallbackPluginManagerInterface {
/**
* Gets the plugin ID for the given country code.
*
* If no country-specific plugin exists, the fallback plugin ID ("other")
* will be returned.
*
* @param string $country_code
* The country code.
*
* @return string
* The plugin ID.
*/
public function getPluginId($country_code);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 7 |
FallbackPluginManagerInterface:: |
public | function | Gets a fallback id for a missing plugin. | 5 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |
TaxNumberTypeManagerInterface:: |
public | function | Gets the plugin ID for the given country code. | 1 |