Dependency::$constraint
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::constraint
- 10 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::constraint
- 11.x core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::constraint
The Constraint object from the constraint string.
Type: \Drupal\Component\Version\Constraint
File
-
core/
lib/ Drupal/ Core/ Extension/ Dependency.php, line 43
Class
- Dependency
- A value object representing dependency information.
Namespace
Drupal\Core\ExtensionCode
protected $constraint;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.