public static function DrupalUpdaterInterface::getProjectName

7.x updater.inc public static DrupalUpdaterInterface::getProjectName($directory)

Returns the system name of the project.

Parameters

string $directory: A directory containing a project.

1 method overrides DrupalUpdaterInterface::getProjectName()
Updater::getProjectName in drupal-7.x/includes/updater.inc
Get the name of the project directory (basename).

File

drupal-7.x/includes/updater.inc, line 36
Classes used for updating various files in the Drupal webroot. These classes use a FileTransfer object to actually perform the operations. Normally, the FileTransfer is provided when the site owner is redirected to authorize.php as part of a multistep…

Class

DrupalUpdaterInterface
Interface for a class which can update a Drupal project.

Code

public static function getProjectName($directory);