public static Updater::getProjectName($directory)
Gets the name of the project directory (basename).
@todo It would be nice, if projects contained an info file which could provide their canonical name.
string $directory:
string The name of the project.
Overrides UpdaterInterface::getProjectName
public static function getProjectName($directory) { return drupal_basename($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/core!lib!Drupal!Core!Updater!Updater.php/function/Updater::getProjectName/8.1.x