public Local::isFile($path)
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.
Overrides FileTransfer::isFile
File
- core/lib/Drupal/Core/FileTransfer/Local.php, line 86
Class
- Local
- Defines the local connection class for copying files as the httpd user.
Namespace
Drupal\Core\FileTransfer
Code
public function isFile($path) { return is_file($path); }
Please login to continue.