function FileTransfer::__unset
Same name in other branches
- 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__unset()
- 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::__unset()
File
-
core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php, line 148
Class
- FileTransfer
- Defines the base FileTransfer class.
Namespace
Drupal\Core\FileTransferCode
public function __unset(string $name) : void {
if ($name == 'connection') {
unset($this->connection);
}
elseif ($name == 'chroot') {
unset($this->chroot);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.