class Theme

Defines a class for updating themes using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.

Hierarchy

Expanded class hierarchy of Theme

16 string references to 'Theme'

File

drupal/core/lib/Drupal/Core/Updater/Theme.php, line 14
Definition of Drupal\Core\Updater\Theme.

Namespace

Drupal\Core\Updater
View source

Members

Namesort descending Modifiers Type Description Overrides
Theme::canUpdate public static function Determines whether this class can update the specified project.
Theme::canUpdateDirectory static function Implements Drupal\Core\Updater\UpdaterInterface::canUpdateDirectory(). Overrides UpdaterInterface::canUpdateDirectory
Theme::getInstallDirectory public function Returns the directory where a theme should be installed. Overrides UpdaterInterface::getInstallDirectory
Theme::isInstalled public function Implements Drupal\Core\Updater\UpdaterInterface::isInstalled(). Overrides UpdaterInterface::isInstalled
Theme::postInstall public function Overrides Drupal\Core\Updater\Updater::postInstall(). Overrides Updater::postInstall
Theme::postInstallTasks public function Overrides Drupal\Core\Updater\Updater::postInstallTasks(). Overrides Updater::postInstallTasks
Updater::$source public property Directory to install from.
Updater::factory public static function Returns an Updater of the appropriate type depending on the source.
Updater::findInfoFile public static function Determines what the most important (or only) info file is in a directory.
Updater::getBackupDir public function Returns the full path to a directory where backups should be written.
Updater::getInstallArgs protected function Stores the default parameters for the Updater.
Updater::getProjectName public static function Gets the name of the project directory (basename).
Updater::getProjectTitle public static function Returns the project name from a Drupal info file.
Updater::getUpdaterFromDirectory public static function Determines which Updater class can operate on the given directory.
Updater::install public function Installs a Drupal project, returns a list of next actions.
Updater::makeBackup public function Performs a backup.
Updater::makeWorldReadable public function Ensures that a given directory is world readable.
Updater::postUpdate public function Performs actions after new code is updated.
Updater::postUpdateTasks public function Returns an array of links to pages that should be visited post operation. 1
Updater::prepareInstallDirectory public function Makes sure the installation parent directory exists and is writable.
Updater::update public function Updates a Drupal project and returns a list of next actions.
Updater::__construct public function Constructs a new updater.