function ArchiverInterface::listContents
Same name in other branches
- 7.x includes/archiver.inc \ArchiverInterface::listContents()
- 9 core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()
- 10 core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()
- 11.x core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()
Lists all files in the archive.
Return value
array An array of file names relative to the root of the archive.
3 methods override ArchiverInterface::listContents()
- Tar::listContents in core/
lib/ Drupal/ Core/ Archiver/ Tar.php - Lists all files in the archive.
- UpdateTestArchiver::listContents in core/
modules/ update/ tests/ modules/ update_test/ src/ Plugin/ Archiver/ UpdateTestArchiver.php - Lists all files in the archive.
- Zip::listContents in core/
lib/ Drupal/ Core/ Archiver/ Zip.php - Lists all files in the archive.
File
-
core/
lib/ Drupal/ Core/ Archiver/ ArchiverInterface.php, line 58
Class
- ArchiverInterface
- Defines the common interface for all Archiver classes.
Namespace
Drupal\Core\ArchiverCode
public function listContents();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.