public function ArchiverInterface::listContents in Drupal 8
Same name and namespace in other branches
- 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()
 
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();