UpdateReady::$state

The state key value store. Type: \Drupal\Core\State\StateInterface File core/modules/update/src/Form/UpdateReady.php, line 38 Class UpdateReady Configure update settings for this site. Namespace Drupal\update\Form Code protected $state;

UpdateReady::create

public static UpdateReady::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service cont

UpdateReady::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/update/src/Form/UpdateReady.php, line 31 Class UpdateReady Configure update settings for this site. Namespace Drupal\update\Form Code protected $moduleHandler;

UpdateReady::$root

The root location under which updated projects will be saved. Type: string File core/modules/update/src/Form/UpdateReady.php, line 24 Class UpdateReady Configure update settings for this site. Namespace Drupal\update\Form Code protected $root;

UpdateReady

Configure update settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\update\Form\UpdateReady File core/modules/update/src/Form/UpdateReady.php, line 17 Namespace Drupal\update\Form Members Name Modifiers Type Description DependencySerializationTrait::$_se

Updater::prepareInstallDirectory

public Updater::prepareInstallDirectory(&$filetransfer, $directory) Makes sure the installation parent directory exists and is writable. Parameters \Drupal\Core\FileTransfer\FileTransfer $filetransfer: Object which is a child of FileTransfer. string $directory: The installation directory to prepare. Throws \Drupal\Core\Updater\UpdaterException File core/lib/Drupal/Core/Updater/Updater.php, line 304 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\

Updater::postUpdateTasks

public Updater::postUpdateTasks() Returns an array of links to pages that should be visited post operation. Return value array Links which provide actions to take after the update is finished. File core/lib/Drupal/Core/Updater/Updater.php, line 407 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public function postUpdateTasks() { return array(); }

Updater::__construct

public Updater::__construct($source, $root) Constructs a new updater. Parameters string $source: Directory to install from. string $root: The root directory under which the project will be copied to if it's a new project. Usually this is the app root (the directory in which the Drupal site is installed). File core/lib/Drupal/Core/Updater/Updater.php, line 38 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public function __construct

Updater::update

public Updater::update(&$filetransfer, $overrides = array()) Updates a Drupal project and returns a list of next actions. Parameters \Drupal\Core\FileTransfer\FileTransfer $filetransfer: Object that is a child of FileTransfer. Used for moving files to the server. array $overrides: An array of settings to override defaults; see self::getInstallArgs(). Return value array An array of links which the user may need to complete the update Throws \Drupal\Core\Updater\UpdaterException \Drupal\Co

Updater::postUpdate

public Updater::postUpdate() Performs actions after new code is updated. File core/lib/Drupal/Core/Updater/Updater.php, line 382 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public function postUpdate() { }