function update_process_project_info
Same name and namespace in other branches
- 11.x core/modules/update/update.compare.inc \update_process_project_info()
- 10 core/modules/update/update.compare.inc \update_process_project_info()
- 9 core/modules/update/update.compare.inc \update_process_project_info()
- 8.9.x core/modules/update/update.compare.inc \update_process_project_info()
- 7.x modules/update/update.compare.inc \update_process_project_info()
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
array $projects: Array of project information from \Drupal\update\UpdateManagerInterface::getProjects().
Deprecated
in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(UpdateCalculator::class)->processProjectInfo() instead.
See also
https://www.drupal.org/node/3587768
File
-
core/
modules/ update/ update.compare.inc, line 28
Code
function update_process_project_info(&$projects) : void {
@trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.5.0 and is removed from drupal:13.0.0. Use \\Drupal::service(UpdateCalculator::class)->processProjectInfo() instead. See https://www.drupal.org/node/3587768', E_USER_DEPRECATED);
\Drupal::service(UpdateCalculator::class)->processProjectInfo($projects);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.