1 install.inc system_get_requirements()

Get run-time requirements and status information.

Return value

An array of requirements in the same format as is returned by hook_requirements().

File

core/includes/install.inc, line 1376
API functions for installing modules and themes.

Code

function system_get_requirements() {
  backdrop_load_updates();

  // Check run-time requirements and status information.
  $requirements = module_invoke_all('requirements', 'runtime');
  usort($requirements, '_system_sort_requirements');

  return $requirements;
}