hook_archiver_info_alter

  1. drupal
    1. 8
    2. 7
Versions
7 – 8 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

Code

modules/system/system.api.php, line 3778

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