1 system.updater.inc public static LayoutUpdater::canUpdate($project_name)

File

core/modules/system/system.updater.inc, line 218
Subclasses of the Updater class to update Backdrop core, modules, themes, and layouts.

Class

LayoutUpdater
Class for updating layouts using FileTransfer classes via authorize.php.

Code

public static function canUpdate($project_name) {
  return (bool) backdrop_get_path('layout', $project_name);
}