Adds basic module files.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Install and update functions for the Demo Migrate module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_requirements().
|
||||
*/
|
||||
function cdesai_migrate_requirements($phase) {
|
||||
$requirements = [];
|
||||
if ($phase == 'install') {
|
||||
|
||||
// Abort installation of this module since it is not ready.
|
||||
$requirements['cdesai_migrate_not_ready'] = [
|
||||
'description' => t('Demo Migration module is not ready for the installation. This module heavily redacted version of a module used in a project. Do not install.'),
|
||||
'severity' => REQUIREMENT_ERROR,
|
||||
];
|
||||
}
|
||||
|
||||
return $requirements;
|
||||
}
|
||||
Reference in New Issue
Block a user