public static function DrupalUpdaterInterface::getProjectName

public static DrupalUpdaterInterface::getProjectName($directory)

Returns the system name of the project.

Parameters

string $directory: A directory containing a project.

File

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!updater.inc/function/DrupalUpdaterInterface::getProjectName/7.x