requirements1_test.install in Zircon Profile 8
Same filename and directory in other branches
File
core/modules/system/tests/modules/requirements1_test/requirements1_test.installView source
<?php
/**
* Implements hook_requirements().
*/
function requirements1_test_requirements($phase) {
$requirements = array();
// Always fails requirements.
if ('install' == $phase) {
$requirements['requirements1_test'] = array(
'title' => t('Requirements 1 Test'),
'severity' => REQUIREMENT_ERROR,
'description' => t('Requirements 1 Test failed requirements.'),
);
}
return $requirements;
}
Functions
Name | Description |
---|---|
requirements1_test_requirements | Implements hook_requirements(). |