function Dependency::getConstraintString

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::getConstraintString()
  2. 8.9.x core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::getConstraintString()
  3. 10 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::getConstraintString()

Gets constraint string from the dependency.

Return value

string The constraint string.

File

core/lib/Drupal/Core/Extension/Dependency.php, line 82

Class

Dependency
A value object representing dependency information.

Namespace

Drupal\Core\Extension

Code

public function getConstraintString() {
    return $this->constraintString;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.