You are here

class ArchiveTar in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar
  2. 10 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar

Extends Pear's Archive_Tar to use exceptions.

Hierarchy

  • class \Drupal\Core\Archiver\ArchiveTar extends \Drupal\Core\Archiver\Archive_Tar

Expanded class hierarchy of ArchiveTar

4 files declare their use of ArchiveTar
ConfigController.php in core/modules/config/src/Controller/ConfigController.php
ConfigExportImportUITest.php in core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
ConfigImportForm.php in core/modules/config/src/Form/ConfigImportForm.php
InstallerExistingConfigTestBase.php in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php

File

core/lib/Drupal/Core/Archiver/ArchiveTar.php, line 8

Namespace

Drupal\Core\Archiver
View source
class ArchiveTar extends \Archive_Tar {

  /**
   * {@inheritdoc}
   */
  public function _error($p_message) {
    throw new \Exception($p_message);
  }

  /**
   * {@inheritdoc}
   */
  public function _warning($p_message) {
    throw new \Exception($p_message);
  }

}

Members