You are here

public function Constraint::getRequiredOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Constraint.php \Symfony\Component\Validator\Constraint::getRequiredOptions()

Returns the name of the required options.

Override this method if you want to define required options.

Return value

array

See also

__construct()

1 call to Constraint::getRequiredOptions()
Constraint::__construct in vendor/symfony/validator/Constraint.php
Initializes the constraint with options.
11 methods override Constraint::getRequiredOptions()
All::getRequiredOptions in vendor/symfony/validator/Constraints/All.php
Returns the name of the required options.
BundleConstraint::getRequiredOptions in core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
Returns the name of the required options.
CardScheme::getRequiredOptions in vendor/symfony/validator/Constraints/CardScheme.php
Returns the name of the required options.
Collection::getRequiredOptions in vendor/symfony/validator/Constraints/Collection.php
Returns the name of the required options.
ComplexDataConstraint::getRequiredOptions in core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php
Returns the name of the required options.

... See full list

File

vendor/symfony/validator/Constraint.php, line 258

Class

Constraint
Contains the properties of a constraint definition.

Namespace

Symfony\Component\Validator

Code

public function getRequiredOptions() {
  return array();
}