abstract public function FileTransfer::isFile in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isFile()
- 10 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::isFile()
Checks if a particular path is a file (not a directory).
Parameters
string $path: The path to check.
Return value
bool TRUE if the specified path is a file, FALSE otherwise.
1 call to FileTransfer::isFile()
- FileTransfer::findChroot in core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php - Returns the chroot property for this connection.
4 methods override FileTransfer::isFile()
- FTPExtension::isFile in core/
lib/ Drupal/ Core/ FileTransfer/ FTPExtension.php - Checks if a particular path is a file (not a directory).
- Local::isFile in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Checks if a particular path is a file (not a directory).
- SSH::isFile in core/
lib/ Drupal/ Core/ FileTransfer/ SSH.php - Checks if a particular path is a file (not a directory).
- TestFileTransfer::isFile in core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php - Checks if a particular path is a file (not a directory).
File
- core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php, line 343
Class
- FileTransfer
- Defines the base FileTransfer class.
Namespace
Drupal\Core\FileTransferCode
public abstract function isFile($path);