protected function FileSystemRequirementsTest::checkSystemRequirements in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::checkSystemRequirements()
- 10 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.
2 calls to FileSystemRequirementsTest::checkSystemRequirements()
- FileSystemRequirementsTest::testFileSystemRequirements in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileSystemRequirementsTest.php - Tests requirements warnings.
- 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 74
Class
- FileSystemRequirementsTest
- @group File @group legacy
Namespace
Drupal\KernelTests\Core\FileCode
protected function checkSystemRequirements() {
module_load_install('system');
return system_requirements('runtime');
}