Search for prepareDirectory

  1. Search 7.x for prepareDirectory
  2. Search 9.5.x for prepareDirectory
  3. Search 10.3.x for prepareDirectory
  4. Search 11.x for prepareDirectory
  5. Other projects
Title Object type File name Summary
FileSystem::prepareDirectory function core/lib/Drupal/Core/File/FileSystem.php Checks that the directory exists and is writable.
FileSystemDeprecationTest::testDeprecatedFilePrepareDirectory function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation file_prepare_directory() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::prepareDirectory(). See https://www.drupal.org/node/3006851.
FileSystemInterface::prepareDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Checks that the directory exists and is writable.

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