clean install

This commit is contained in:
2024-12-10 15:08:16 +01:00
commit e14eb2d8fd
31193 changed files with 3555714 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
name: 'Testing requirements'
type: profile
description: 'Profile for testing hook_requirements().'
version: VERSION
hidden: true

View File

@@ -0,0 +1,23 @@
<?php
/**
* @file
* Install hooks for test profile.
*/
/**
* Implements hook_requirements().
*/
function testing_requirements_requirements($phase) {
$requirements = [];
if ($phase === 'install') {
$requirements['testing_requirements'] = [
'title' => t('Testing requirements'),
'severity' => REQUIREMENT_ERROR,
'description' => t('Testing requirements failed requirements.'),
];
}
return $requirements;
}