Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Dependency.php

function 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\Extension

Code

public function getName() {
    return $this->name;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal