Constraint::$constraintArray
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Version/Constraint.php \Drupal\Component\Version\Constraint::constraintArray
- 10 core/lib/Drupal/Component/Version/Constraint.php \Drupal\Component\Version\Constraint::constraintArray
- 11.x core/lib/Drupal/Component/Version/Constraint.php \Drupal\Component\Version\Constraint::constraintArray
A list of associative arrays representing the constraint.
Each containing the keys:
- 'op': can be one of: '=', '==', '!=', '<>', '<', '<=', '>', or '>='.
- 'version': A complete version, e.g. '4.5-beta3'.
Type: array[]
File
-
core/
lib/ Drupal/ Component/ Version/ Constraint.php, line 26
Class
- Constraint
- A value object representing a Drupal version constraint.
Namespace
Drupal\Component\VersionCode
protected $constraintArray = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.