public static function UpdaterInterface::canUpdateDirectory

public static UpdaterInterface::canUpdateDirectory($directory)

Determines if the Updater can handle the project provided in $directory.

Parameters

string $directory:

Return value

bool TRUE if the project is installed, FALSE if not.

File

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

Class

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

Namespace

Drupal\Core\Updater

Code

public static function canUpdateDirectory($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!UpdaterInterface.php/function/UpdaterInterface::canUpdateDirectory/8.1.x