You are here

public function Dependency::getConstraintString in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::getConstraintString()

Gets constraint string from the dependency.

Return value

string The constraint string.

1 call to Dependency::getConstraintString()
Dependency::offsetGet in core/lib/Drupal/Core/Extension/Dependency.php

File

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

Class

Dependency
A value object representing dependency information.

Namespace

Drupal\Core\Extension

Code

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