interface SupportsVerificationInterface in Commerce Core 8.2
Hierarchy
- interface \Drupal\commerce_tax\Plugin\Commerce\TaxNumberType\SupportsVerificationInterface
Expanded class hierarchy of SupportsVerificationInterface
All classes that implement SupportsVerificationInterface
3 files declare their use of SupportsVerificationInterface
- TaxNumberConstraintValidator.php in modules/
tax/ src/ Plugin/ Validation/ Constraint/ TaxNumberConstraintValidator.php - TaxNumberController.php in modules/
tax/ src/ Controller/ TaxNumberController.php - TaxNumberItem.php in modules/
tax/ src/ Plugin/ Field/ FieldType/ TaxNumberItem.php
File
- modules/
tax/ src/ Plugin/ Commerce/ TaxNumberType/ SupportsVerificationInterface.php, line 5
Namespace
Drupal\commerce_tax\Plugin\Commerce\TaxNumberTypeView source
interface SupportsVerificationInterface {
/**
* Verifies the given tax number.
*
* @param string $tax_number
* The tax number.
*
* @return \Drupal\commerce_tax\Plugin\Commerce\TaxNumberType\VerificationResult
* The verification result.
*/
public function verify($tax_number);
/**
* Renders the given verification result.
*
* @param \Drupal\commerce_tax\Plugin\Commerce\TaxNumberType\VerificationResult $result
* The verification result.
*
* @return array
* The render array.
*/
public function renderVerificationResult(VerificationResult $result);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SupportsVerificationInterface:: |
public | function | Renders the given verification result. | 2 |
SupportsVerificationInterface:: |
public | function | Verifies the given tax number. | 1 |