You are here

public function ArchiverInterface::listContents in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Archiver/ArchiverInterface.php \Drupal\Core\Archiver\ArchiverInterface::listContents()
  2. 9 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.

1 method overrides ArchiverInterface::listContents()
UpdateTestArchiver::listContents in core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.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\Archiver

Code

public function listContents();