You are here

public static function ConfigurationManagement::validApiVersion in Configuration Management 7.2

Returns TRUE if the minimun

Parameters

$minimum: The version of the api of the current configuration.

Return value

boolean Rerturns TRUE if the current version of Configuration Management installed can handle the configuration.

1 call to ConfigurationManagement::validApiVersion()
Configuration::loadFromStorage in lib/Drupal/configuration/Config/Configuration.php
Load the Configuration data from the disk.

File

lib/Drupal/configuration/Config/ConfigurationManagement.php, line 39
Definition of Drupal\configuration\Config\ConfigurationManagement.

Class

ConfigurationManagement

Namespace

Drupal\configuration\Config

Code

public static function validApiVersion($config_version) {
  return version_compare($config_version, ConfigurationManagement::api) >= 0;
}