Dependency::$constraint
Same name in other branches
- 8.9.x 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 38
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.