protected function FileSystemRequirementsTest::checkSystemRequirements in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::checkSystemRequirements()
- 9 core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::checkSystemRequirements()
Checks system runtime requirements.
Return value
array An array of system requirements.
1 call to FileSystemRequirementsTest::checkSystemRequirements()
- FileSystemRequirementsTest::testSettingsExist in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemRequirementsTest.php - Tests if settings are set, there are not warnings.
File
- core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemRequirementsTest.php, line 47
Class
- FileSystemRequirementsTest
- @group File
Namespace
Drupal\KernelTests\Core\FileCode
protected function checkSystemRequirements() {
$this->container
->get('module_handler')
->loadInclude('system', 'install');
return system_requirements('runtime');
}