class NotRegularFileException
Same name in other branches
- 9 core/lib/Drupal/Core/File/Exception/NotRegularFileException.php \Drupal\Core\File\Exception\NotRegularFileException
- 10 core/lib/Drupal/Core/File/Exception/NotRegularFileException.php \Drupal\Core\File\Exception\NotRegularFileException
- 11.x core/lib/Drupal/Core/File/Exception/NotRegularFileException.php \Drupal\Core\File\Exception\NotRegularFileException
Exception thrown when a target is not a regular file (e.g. a directory).
Hierarchy
- class \Drupal\Core\File\Exception\FileException extends \Drupal\Core\File\Exception\RuntimeException
- class \Drupal\Core\File\Exception\NotRegularFileException extends \Drupal\Core\File\Exception\FileException
Expanded class hierarchy of NotRegularFileException
2 files declare their use of NotRegularFileException
- FileDeleteTest.php in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileDeleteTest.php - FileSystem.php in core/
lib/ Drupal/ Core/ File/ FileSystem.php
File
-
core/
lib/ Drupal/ Core/ File/ Exception/ NotRegularFileException.php, line 8
Namespace
Drupal\Core\File\ExceptionView source
class NotRegularFileException extends FileException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.