CommerceTaxType.php in Commerce Core 8.2
Namespace
Drupal\commerce_tax\AnnotationFile
modules/tax/src/Annotation/CommerceTaxType.phpView source
<?php
namespace Drupal\commerce_tax\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines the tax type plugin annotation object.
*
* Plugin namespace: Plugin\Commerce\TaxType.
*
* @Annotation
*/
class CommerceTaxType extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The tax type label.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The tax type weight.
*
* Used to determine the order in which tax type plugins should run.
*
* @var int
*/
public $weight = 0;
}
Classes
Name![]() |
Description |
---|---|
CommerceTaxType | Defines the tax type plugin annotation object. |