public function Other::validate in Commerce Core 8.2
Validates the given tax number.
Parameters
string $tax_number: The tax number.
Return value
bool TRUE if the given tax number if valid, FALSE otherwise.
Overrides TaxNumberTypeInterface::validate
File
- modules/
tax/ src/ Plugin/ Commerce/ TaxNumberType/ Other.php, line 24
Class
- Other
- Provides the Other tax number type.
Namespace
Drupal\commerce_tax\Plugin\Commerce\TaxNumberTypeCode
public function validate($tax_number) {
return TRUE;
}