1 system.api.php hook_archiver_info_alter(&$info)

Alter archiver information declared by other modules.

See hook_archiver_info() for a description of archivers and the archiver information structure.

Parameters

$info: Archiver information to alter (return values from hook_archiver_info()).

Related topics

File

core/modules/system/system.api.php, line 3607
Hooks provided by Backdrop core and the System module.

Code

function hook_archiver_info_alter(&$info) {
  $info['tar']['extensions'][] = 'tgz';
}