1 update.compare.inc update_filter_project_info($info)

Filters the project .info data to only save attributes we need.


array $info: Array of .info file data as returned by backdrop_parse_info_file().

Return value

Array of .info file data we need for the update manager.:

See also



core/modules/update/update.compare.inc, line 869
Code required only when comparing available updates to existing data.


function update_filter_project_info($info) {
  $allowlist = array(
    'project status url',
  return array_intersect_key($info, backdrop_map_assoc($allowlist));