function update_system_schema_requirements

Same name and namespace in other branches
  1. 10 core/includes/update.inc \update_system_schema_requirements()
  2. 9 core/includes/update.inc \update_system_schema_requirements()
  3. 8.9.x core/includes/update.inc \update_system_schema_requirements()
  4. main core/includes/update.inc \update_system_schema_requirements()

Returns whether the minimum schema requirement has been satisfied.

Return value

array A requirements info array.

Deprecated

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(DatabaseUpdate::class)->systemSchemaRequirements() instead.

See also

https://www.drupal.org/node/3013060

File

core/includes/update.inc, line 28

Code

function update_system_schema_requirements() : array {
  @trigger_error(__FUNCTION__ . '() is deprecated in drupal:11.5.0 and is removed from drupal:13.0.0. Use \\Drupal::service(DatabaseUpdate::class)->systemSchemaRequirements() instead. See https://www.drupal.org/node/3013060', E_USER_DEPRECATED);
  return \Drupal::service(DatabaseUpdate::class)->systemSchemaRequirements();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.