UpdateSettingsForm::getFormId

public UpdateSettingsForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/update/src/UpdateSettingsForm.php, line 45 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function getFormId() { return 'update_settings'; }

UpdateSettingsForm::submitForm

public UpdateSettingsForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/modules/update/src/UpdateSettingsForm.php, line 138 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function su

UpdateSettingsForm::validateForm

public UpdateSettingsForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/update/src/UpdateSettingsForm.php, line 105 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function vali

UpdateSettingsForm::__construct

public UpdateSettingsForm::__construct(EmailValidator $email_validator) Constructs a new UpdateSettingsForm. Parameters \Egulias\EmailValidator\EmailValidator $email_validator: The email validator. Overrides ConfigFormBase::__construct File core/modules/update/src/UpdateSettingsForm.php, line 29 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function __construct(EmailValidator $email_validator) { $this->emailValidator = $emai

update_already_performed

update_already_performed($module, $number) Determines if a module update has already been performed. Parameters $module: The name of the module. $number: The number of the update within that module. Return value TRUE if the database schema indicates that the update has already been performed; FALSE otherwise. File core/includes/update.inc, line 583 Drupal database update API. Code function update_already_performed($module, $number) { return $number <= drupal_get_installed_schema_versio

update_authorize_batch_copy_project

update_authorize_batch_copy_project($project, $updater_name, $local_url, $filetransfer, &$context) Implements callback_batch_operation(). Copies project to its proper place when authorized to do so. Parameters string $project: The canonical short name of the project being installed. string $updater_name: The name of the Drupal\Core\Updater\Updater class to use for installing this project. string $local_url: The URL to the locally installed temp directory where the project has already been

update_authorize_install_batch_finished

update_authorize_install_batch_finished($success, $results) Implements callback_batch_finished(). Performs actions when the authorized install batch is done. This processes the results and stashes them into SESSION such that authorize.php will render a report. Also responsible for putting the site back online after a successful install if necessary. Parameters $success: TRUE if the batch operation was a success; FALSE if there were errors. $results: An associative array of results from the bat

update_authorize_run_install

update_authorize_run_install($filetransfer, $project, $updater_name, $local_url) Installs a new project when invoked by authorize.php. Callback for system_authorized_init() in update_manager_install_form_submit(). Parameters FileTransfer $filetransfer: The FileTransfer object created by authorize.php for use during this operation. string $project: The canonical project short name; i.e., the name of the module, theme, or profile. string $updater_name: The name of the Drupal\Core\Updater\Updater

update_authorize_run_update

update_authorize_run_update($filetransfer, $projects) Updates existing projects when invoked by authorize.php. Callback for system_authorized_init() in update_manager_update_ready_form_submit(). Parameters $filetransfer: The FileTransfer object created by authorize.php for use during this operation. $projects: A nested array of projects to install into the live webroot, keyed by project name. Each subarray contains the following keys: project: The canonical project short name. updater_name:

update_authorize_update_batch_finished

update_authorize_update_batch_finished($success, $results) Batch callback: Performs actions when the authorized update batch is done. This processes the results and stashes them into SESSION such that authorize.php will render a report. Also responsible for putting the site back online and clearing the update status storage after a successful update. Parameters $success: TRUE if the batch operation was successful; FALSE if there were errors. $results: An associative array of results from the b