You are here

public function PostalCodeValidationInterface::getValidationPatterns in Postal Code 8

Actual validation function.

Return value

array of RegExp patterns for validation.

1 method overrides PostalCodeValidationInterface::getValidationPatterns()
PostalCodeValidation::getValidationPatterns in src/PostalCodeValidation.php
Actual validation function.

File

src/PostalCodeValidationInterface.php, line 17

Class

PostalCodeValidationInterface
Interface ValidatorServiceInterface. Provide interface with additional methods for validations of postal code field.

Namespace

Drupal\postal_code

Code

public function getValidationPatterns();