function UpdaterInterface::getProjectName

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

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