drupal_check_incompatibility

function drupal_check_incompatibility

drupal_check_incompatibility($v, $current_version)

Checks whether a version is compatible with a given dependency.

Parameters

$v: The parsed dependency structure from drupal_parse_dependency().

$current_version: The version to check against (like 4.2).

Return value

NULL if compatible, otherwise the original dependency version string that caused the incompatibility.

See also

drupal_parse_dependency()

File

incl