You are here

public function Constraint::getDefaultOption in Zircon Profile 8

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

Returns the name of the default option.

Override this method to define a default option.

Return value

string

See also

__construct()

1 call to Constraint::getDefaultOption()
Constraint::__construct in vendor/symfony/validator/Constraint.php
Initializes the constraint with options.
18 methods override Constraint::getDefaultOption()
AbstractComparison::getDefaultOption in vendor/symfony/validator/Constraints/AbstractComparison.php
Returns the name of the default option.
All::getDefaultOption in vendor/symfony/validator/Constraints/All.php
Returns the name of the default option.
BundleConstraint::getDefaultOption in core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php
Returns the name of the default option.
Callback::getDefaultOption in vendor/symfony/validator/Constraints/Callback.php
Returns the name of the default option.
CardScheme::getDefaultOption in vendor/symfony/validator/Constraints/CardScheme.php
Returns the name of the default option.

... See full list

File

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

Class

Constraint
Contains the properties of a constraint definition.

Namespace

Symfony\Component\Validator

Code

public function getDefaultOption() {
}