You are here

public static function UpdaterInterface::getProjectName in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Updater/UpdaterInterface.php \Drupal\Core\Updater\UpdaterInterface::getProjectName()

Returns the system name of the project.

Parameters

string $directory: A directory containing a project.

File

core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 30

Class

UpdaterInterface
Defines an interface for a class which can update a Drupal project.

Namespace

Drupal\Core\Updater

Code

public static function getProjectName($directory);