function Tar::add
Same name in other branches
- 9 core/lib/Drupal/Core/Archiver/Tar.php \Drupal\Core\Archiver\Tar::add()
- 10 core/lib/Drupal/Core/Archiver/Tar.php \Drupal\Core\Archiver\Tar::add()
- 11.x core/lib/Drupal/Core/Archiver/Tar.php \Drupal\Core\Archiver\Tar::add()
Overrides ArchiverInterface::add
File
-
core/
lib/ Drupal/ Core/ Archiver/ Tar.php, line 34
Class
- Tar
- Defines a archiver implementation for .tar files.
Namespace
Drupal\Core\ArchiverCode
public function add($file_path) {
$this->tar
->add($file_path);
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.