class ArchiveTar

Same name in other branches
  1. 9 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar
  2. 10 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar
  3. 11.x 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

Title Sort descending Modifiers Object type Summary
ArchiveTar::_error public function
ArchiveTar::_warning public function

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