Search for fileExists

  1. Search 7.x for fileExists
  2. Search 9.5.x for fileExists
  3. Search 10.3.x for fileExists
  4. Search 11.x for fileExists
  5. Other projects
Title Object type File name Summary
FileExistsException class core/lib/Drupal/Core/File/Exception/FileExistsException.php Exception thrown when a file unexpectedly exists.
FileExistsException.php file core/lib/Drupal/Core/File/Exception/FileExistsException.php
FileFieldTestBase::assertFileExists function core/modules/file/src/Tests/FileFieldTestBase.php Asserts that a file exists physically on disk.
FileFieldTestBaseTrait::assertFileExists function core/tests/Drupal/TestTools/PhpUnitCompatibility/PhpUnit6/FileFieldTestBaseTrait.php Asserts that a file exists physically on disk.
FileFieldValidateTest::testAssertFileExistsDeprecation function core/modules/file/tests/src/Functional/FileFieldValidateTest.php Tests deprecation of the assertFileExists and assertFileNotExists methods.
FileSystemTest::testEnsureFileExistsBeforeCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy[[api-linebreak]]
LegacyStateFileExists class core/modules/migrate_drupal/tests/src/Kernel/LegacyStateFileExists.php Extends StateFileExists to test with deprecated modules.
LegacyStateFileExists.php file core/modules/migrate_drupal/tests/src/Kernel/LegacyStateFileExists.php
LegacyStateFileExists::$excludeDeprecated property core/modules/migrate_drupal/tests/src/Kernel/LegacyStateFileExists.php Flag to exclude deprecated modules from the tests.
StateFileExists class core/modules/migrate_drupal/tests/src/Kernel/StateFileExists.php Tests that core modules have a migrate_drupal.yml file as needed.
StateFileExists.php file core/modules/migrate_drupal/tests/src/Kernel/StateFileExists.php
StateFileExists::$modules property core/modules/migrate_drupal/tests/src/Kernel/StateFileExists.php Modules to enable.
StateFileExists::$stateFileRequired property core/modules/migrate_drupal/tests/src/Kernel/StateFileExists.php Modules that should have a migrate_drupal.yml file.
StateFileExists::testMigrationState function core/modules/migrate_drupal/tests/src/Kernel/StateFileExists.php Tests that the migrate_drupal.yml files exist as needed.

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