_update_requirement_check

function _update_requirement_check

_update_requirement_check($project, $type)

Fills in the requirements array.

This is shared for both core and contrib to generate the right elements in the array for hook_requirements().

Parameters

$project: Array of information about the project we're testing as returned by update_calculate_project_data().

$type: What kind of project this is ('core' or 'contrib').

Return value

An array to be included in the nested