Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
|
@ -0,0 +1,6 @@
|
|||
name: 'Testing requirements'
|
||||
type: profile
|
||||
description: 'Profile for testing hook_requirements().'
|
||||
version: VERSION
|
||||
core: 8.x
|
||||
hidden: true
|
|
@ -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;
|
||||
}
|
Reference in a new issue