Constraint::$constraint
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Version/Constraint.php \Drupal\Component\Version\Constraint::constraint
- 10 core/lib/Drupal/Component/Version/Constraint.php \Drupal\Component\Version\Constraint::constraint
- 11.x core/lib/Drupal/Component/Version/Constraint.php \Drupal\Component\Version\Constraint::constraint
The constraint represented as a string. For example '>=8.x-5.x'.
Type: string
File
-
core/
lib/ Drupal/ Component/ Version/ Constraint.php, line 15
Class
- Constraint
- A value object representing a Drupal version constraint.
Namespace
Drupal\Component\VersionCode
protected $constraint;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.