update_manager_local_transfers_allowed

update_manager_local_transfers_allowed() Determines if file transfers will be performed locally. If the server is configured such that webserver-created files have the same owner as the configuration directory (e.g., sites/default) where new code will eventually be installed, the update manager can transfer files entirely locally, without changing their ownership (in other words, without prompting the user for FTP, SSH or other credentials). This server configuration is an inherent security wea

UPDATE_NOT_CHECKED

Project's status cannot be checked. File core/modules/update/update.module, line 49 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_CHECKED = -1;

UPDATE_NOT_CURRENT

Project has a new release available, but it is not a security release. File core/modules/update/update.module, line 39 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_CURRENT = 4;

UPDATE_NOT_FETCHED

There was a failure fetching available update data for this project. File core/modules/update/update.module, line 59 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_FETCHED = -3;

UPDATE_NOT_SECURE

Project is missing security update(s). File core/modules/update/update.module, line 24 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_SECURE = 1;

UPDATE_NOT_SUPPORTED

Current release is no longer supported by the project maintainer. File core/modules/update/update.module, line 34 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_SUPPORTED = 3;

update_page_top

update_page_top() Implements hook_page_top(). File core/modules/update/update.module, line 110 Handles updates of Drupal core and contributed projects. Code function update_page_top() { /** @var \Drupal\Core\Routing\AdminContext $admin_context */ $admin_context = \Drupal::service('router.admin_context'); $route_match = \Drupal::routeMatch(); if ($admin_context->isAdminRoute($route_match->getRouteObject()) && \Drupal::currentUser()->hasPermission('administer site confi

update_process_project_info

update_process_project_info(&$projects) Determines version and type information for currently installed projects. Processes the list of projects on the system to figure out the currently installed versions, and other information that is required before we can compare against the available releases to produce the status report. Parameters $projects: Array of project information from \Drupal\Update\UpdateManager::getProjects(). File core/modules/update/update.compare.inc, line 19 Code requir

update_refresh

update_refresh() Refreshes the release data after loading the necessary include file. File core/modules/update/update.module, line 386 Handles updates of Drupal core and contributed projects. Code function update_refresh() { \Drupal::service('update.manager')->refreshUpdateData(); }

update_replace_permissions

update_replace_permissions($replace) Replace permissions during update. This function can replace one permission to several or even delete an old one. Parameters array $replace: An associative array. The keys are the old permissions the values are lists of new permissions. If the list is an empty array, the old permission is removed. File core/includes/update.inc, line 671 Drupal database update API. Code function update_replace_permissions($replace) { $prefix = 'user.role.'; $cut = strl