function Dependency::getProject

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::getProject()
  2. 10 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::getProject()
  3. 11.x 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.

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

File

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

Class

Dependency
A value object representing dependency information.

Namespace

Drupal\Core\Extension

Code

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

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