NEW Add recipe-core to default VersionProvider module list

Recipe versions are a more useful indicator than the framework module
version, so if installed we want to show the recipe-core version. The
cms module expands upon this to include recipe-cms.
This commit is contained in:
Garion Herman 2020-08-26 14:49:11 +12:00
parent 7c84171d5b
commit 680adbd10b

View File

@ -31,7 +31,10 @@ class VersionProvider
/**
* @var array
*/
private static $modules = [];
private static $modules = [
'silverstripe/framework' => 'Framework',
'silverstripe/recipe-core' => 'Core Recipe',
];
/**
* Gets a comma delimited string of package titles and versions