public function Dependency::getName in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Extension/Dependency.php \Drupal\Core\Extension\Dependency::getName()
Gets the dependency's name.
Return value
string The dependency's name.
File
- core/
lib/ Drupal/ Core/ Extension/ Dependency.php, line 62
Class
- Dependency
- A value object representing dependency information.
Namespace
Drupal\Core\ExtensionCode
public function getName() {
return $this->name;
}