function ValidSequenceKeysConstraint::getRequiredOptions

File

core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidSequenceKeysConstraint.php, line 62

Class

ValidSequenceKeysConstraint
Checks that all the keys of a sequence match the specified constraints.

Namespace

Drupal\Core\Validation\Plugin\Validation\Constraint

Code

public function getRequiredOptions() : array {
  return [
    'constraints',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.