function ArchiverInterface::listContents

Same name in other branches
  1. 9 core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()
  2. 8.9.x core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()
  3. 10 core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()
  4. 11.x core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()

Lists all files in the archive.

Return value

An array of file names relative to the root of the archive.

2 methods override ArchiverInterface::listContents()
ArchiverTar::listContents in modules/system/system.archiver.inc
Lists all files in the archive.
ArchiverZip::listContents in modules/system/system.archiver.inc
Lists all files in the archive.

File

includes/archiver.inc, line 67

Class

ArchiverInterface
Defines the common interface for all Archiver classes.

Code

public function listContents();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.