function FileSystemRequirementsTest::checkSystemRequirements
Same name 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()
- 11.x 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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.