You are here

protected function TaxNumberItem::getTaxNumberTypeManager in Commerce Core 8.2

Gets the tax number type plugin manager.

Return value

\Drupal\commerce_tax\TaxNumberTypeManagerInterface The tax number type plugin manager.

2 calls to TaxNumberItem::getTaxNumberTypeManager()
TaxNumberItem::getAllowedTypes in modules/tax/src/Plugin/Field/FieldType/TaxNumberItem.php
Gets the allowed tax number types.
TaxNumberItem::getTypePlugin in modules/tax/src/Plugin/Field/FieldType/TaxNumberItem.php
Gets the tax number type plugin.

File

modules/tax/src/Plugin/Field/FieldType/TaxNumberItem.php, line 330

Class

TaxNumberItem
Plugin implementation of the 'commerce_tax_number' field type.

Namespace

Drupal\commerce_tax\Plugin\Field\FieldType

Code

protected function getTaxNumberTypeManager() {
  return \Drupal::service('plugin.manager.commerce_tax_number_type');
}