function update_check_requirements in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/includes/update.inc \update_check_requirements()
Checks update requirements and reports errors and (optionally) warnings.
1 call to update_check_requirements()
- DbUpdateController::handle in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Returns a database update page.
File
- core/
includes/ update.inc, line 96 - Drupal database update API.
Code
function update_check_requirements() {
// Check requirements of all loaded modules.
$requirements = \Drupal::moduleHandler()
->invokeAll('requirements', array(
'update',
));
$requirements += update_system_schema_requirements();
return $requirements;
}