public function ArchiverInterface::remove in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::remove()
- 9 core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::remove()
Removes the specified file from the archive.
Parameters
string $path: The file name relative to the root of the archive to remove.
Return value
$this The called object.
1 method overrides ArchiverInterface::remove()
- UpdateTestArchiver::remove in core/
modules/ update/ tests/ modules/ update_test/ src/ Plugin/ Archiver/ UpdateTestArchiver.php - Removes the specified file from the archive.
File
- core/
lib/ Drupal/ Core/ Archiver/ ArchiverInterface.php, line 35
Class
- ArchiverInterface
- Defines the common interface for all Archiver classes.
Namespace
Drupal\Core\ArchiverCode
public function remove($path);