function FileSystemRequirementsTest::checkSystemRequirements

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::checkSystemRequirements()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php \Drupal\KernelTests\Core\File\FileSystemRequirementsTest::checkSystemRequirements()
  3. 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.

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\File

Code

protected function checkSystemRequirements() {
    $this->container
        ->get('module_handler')
        ->loadInclude('system', 'install');
    return system_requirements('runtime');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.