You are here

public function NifConstraint::getSupportedTypes in Field NIF 8

Gets the supported types as array.

Return value

array

File

src/Plugin/Validation/Constraint/NifConstraint.php, line 45

Class

NifConstraint
Checks if field_nif value is valid.

Namespace

Drupal\field_nif\Plugin\Validation\Constraint

Code

public function getSupportedTypes() {
  return $this->supportedTypes;
}