Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php.
Hierarchy
- class \Drupal\Core\Updater\Updater
- class \Drupal\Core\Updater\Module implements UpdaterInterface
 
 
File
- core/lib/Drupal/Core/Updater/Module.php, line 11
 
Namespace
Drupal\Core\Updater
Members
| Name | Modifiers | Type | Description | 
|---|---|---|---|
| Module::canUpdate | public static | function | Determines whether this class can update the specified project. | 
| Module::canUpdateDirectory | public static | function | Determines if the Updater can handle the project provided in $directory. Overrides UpdaterInterface::canUpdateDirectory | 
| Module::getInstallDirectory | public | function | Returns the directory where a module should be installed. Overrides UpdaterInterface::getInstallDirectory | 
| Module::getRootDirectoryRelativePath | public static | function | Returns the name of the root directory under which projects will be copied. Overrides UpdaterInterface::getRootDirectoryRelativePath | 
| Module::getSchemaUpdates | public | function | Returns available database schema updates once a new version is installed. | 
| Module::isInstalled | public | function | Checks if the project is installed. Overrides UpdaterInterface::isInstalled | 
| Module::postInstallTasks | public | function | Returns an array of links to pages that should be visited post operation. Overrides Updater::postInstallTasks | 
| Module::postUpdateTasks | public | function | Returns an array of links to pages that should be visited post operation. Overrides Updater::postUpdateTasks | 
| Updater::$root | protected | property | The root directory under which new projects will be copied. | 
| 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::getExtensionInfo | protected static | function | Get Extension information from directory. | 
| 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::postInstall | public | function | Performs actions after installation. | 
| Updater::postUpdate | public | function | Performs actions after new code is updated. | 
| 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. | 
Please login to continue.