$releases_to_set[] = &
$project_data['releases'
][$version];
} } if (!
empty($project_data['security updates'
])) { foreach ($project_data['security updates'
] as &
$security_update) { $releases_to_set[] = &
$security_update;
} } foreach ($releases_to_set as &
$release) { if (!
empty($release['core_compatibility'
])) { $release['core_compatible'
] =
$this->
isCoreCompatible($release['core_compatibility'
]);
$release['core_compatibility_message'
] =
$this->
createMessageFromCoreCompatibility($release['core_compatibility'
]);
} } } /**
* Determines if a release is compatible with the currently installed core.
*
* @param string $core_compatibility_constraint
* A semantic version constraint.
*
* @return bool
* TRUE if the given constraint is satisfied by the currently installed
* version of Drupal core, otherwise FALSE.
*/