Determines if the Updater can handle the project provided in $directory.
@todo Provide something more rational here, like a project spec file.
Parameters
string $directory:
Return value
bool
TRUE if the project is installed, FALSE if not.
File
- drupal/core/lib/Drupal/Core/Updater/UpdaterInterface.php, line 55
- Definition of Drupal\Core\Updater\UpdaterInterface.
Class
- UpdaterInterface
- Defines an interface for a class which can update a Drupal project.
Namespace
Drupal\Core\Updater
Code
public static function canUpdateDirectory($directory);