1 updater.inc | public static BackdropUpdaterInterface::canUpdateDirectory($directory) |
Determine if the Updater can handle the project provided in $directory.
Parameters
string $directory: The full path to the package directory.
Return value
bool: TRUE if the project within the directory is supported by this updater.
File
- core/
includes/ updater.inc, line 52 - Classes used for updating various files in the Backdrop 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…
Class
- BackdropUpdaterInterface
- Interface for a class which can update a Backdrop project.
Code
public static function canUpdateDirectory($directory);