abstract public function FileTransfer::isDirectory in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isDirectory()
- 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isDirectory()
Checks if a particular path is a directory.
Parameters
string $path: The path to check
Return value
bool TRUE if the specified path is a directory, FALSE otherwise.
2 methods override FileTransfer::isDirectory()
- Local::isDirectory in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Checks if a particular path is a directory.
- TestFileTransfer::isDirectory in core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php - Checks if a particular path is a directory.
File
- core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php, line 332
Class
- FileTransfer
- Defines the base FileTransfer class.
Namespace
Drupal\Core\FileTransferCode
public abstract function isDirectory($path);