1.20.x system.updater.inc public static ThemeUpdater::canUpdate($project_name)

File

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

Class

ThemeUpdater
Class for updating themes using FileTransfer classes via authorize.php.

Code

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