You are here

public function Dependency::getProject in Drupal 9

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

Gets the dependency's project namespace.

Return value

string The dependency's project namespace.

File

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

Class

Dependency
A value object representing dependency information.

Namespace

Drupal\Core\Extension

Code

public function getProject() {
  return $this->project;
}