Search for deleteRecursive
- Search 7.x for deleteRecursive
- Search 9.5.x for deleteRecursive
- Search 10.3.x for deleteRecursive
- Search 11.x for deleteRecursive
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
Composer::deleteRecursive | function | core/ |
Helper method to remove directories and the files they contain. |
FileDeleteRecursiveTest | class | core/ |
Tests the unmanaged file delete recursive function. |
FileDeleteRecursiveTest.php | file | core/ |
|
FileDeleteRecursiveTest::testDirectory | function | core/ |
Try deleting a directory with some files. |
FileDeleteRecursiveTest::testEmptyDirectory | function | core/ |
Try deleting an empty directory. |
FileDeleteRecursiveTest::testSingleFile | function | core/ |
Delete a normal file. |
FileDeleteRecursiveTest::testSubDirectory | function | core/ |
Try deleting subdirectories with some files. |
FileSystem::deleteRecursive | function | core/ |
Deletes all files and directories in the specified filepath recursively. |
FileSystemDeprecationTest::testDeprecatedUnmanagedFileDeleteRecursive | function | core/ |
@expectedDeprecation file_unmanaged_delete_recursive() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::deleteRecursive(). See https://www.drupal.org/node/3006851. |
FileSystemInterface::deleteRecursive | function | core/ |
Deletes all files and directories in the specified filepath recursively. |
QuickStartTest::fileUnmanagedDeleteRecursive | function | core/ |
Deletes all files and directories in the specified path recursively. |
RemoteFileDeleteRecursiveTest | class | core/ |
Tests the unmanaged file delete recursive function. |
RemoteFileDeleteRecursiveTest.php | file | core/ |
|
RemoteFileDeleteRecursiveTest::$classname | property | core/ |
A fully-qualified stream wrapper class name to register for the test. |
RemoteFileDeleteRecursiveTest::$modules | property | core/ |
Modules to enable. |
RemoteFileDeleteRecursiveTest::$scheme | property | core/ |
A stream wrapper scheme to register for the test. |
RemoteFileDeleteRecursiveTest::setUp | function | core/ |
|
TestSiteTearDownCommand::fileUnmanagedDeleteRecursive | function | core/ |
Deletes all files and directories in the specified path recursively. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.