public function All::getDefaultOption

Returns the name of the default option

Override this method to define a default option.

@api

Return value

string

Overrides Constraint::getDefaultOption

See also

__construct()

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Constraints/All.php, line 50

Class

All
@author Bernhard Schussek <bschussek@gmail.com>

Namespace

Symfony\Component\Validator\Constraints

Code

public function getDefaultOption() {
  return 'constraints';
}