You are here

public property CvValidator::$supports in Clientside Validation 8

Same name and namespace in other branches
  1. 8.2 src/Annotation/CvValidator.php \Drupal\clientside_validation\Annotation\CvValidator::supports
  2. 3.0.x src/Annotation/CvValidator.php \Drupal\clientside_validation\Annotation\CvValidator::supports
  3. 2.0.x src/Annotation/CvValidator.php \Drupal\clientside_validation\Annotation\CvValidator::supports

An array with keys 'types' and 'attributes'.

Each value is an array of types and attributes (respectively) this plugin supports.

Type: array

File

src/Annotation/CvValidator.php, line 43

Class

CvValidator
Defines a clientside validation validator.

Namespace

Drupal\clientside_validation\Annotation

Code

public $supports = [
  'types' => [],
  'attributes' => [],
];