function ComplexDataConstraint::getRequiredOptions
Same name in other branches
- 9 core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\ComplexDataConstraint::getRequiredOptions()
- 8.9.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\ComplexDataConstraint::getRequiredOptions()
- 11.x core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ComplexDataConstraint.php \Drupal\Core\Validation\Plugin\Validation\Constraint\ComplexDataConstraint::getRequiredOptions()
@todo Add method return type declaration.
Return value
array The names of the required options.
See also
https://www.drupal.org/project/drupal/issues/3425150
File
-
core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ ComplexDataConstraint.php, line 70
Class
- ComplexDataConstraint
- Complex data constraint.
Namespace
Drupal\Core\Validation\Plugin\Validation\ConstraintCode
public function getRequiredOptions() {
return [
'properties',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.