function hook_archiver_info_alter

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

1 function implements hook_archiver_info_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

update_test_archiver_info_alter in drupal/core/modules/update/tests/modules/update_test/update_test.module
Implements hook_archiver_info_alter().

File

drupal/core/modules/system/system.api.php, line 3098
Hooks provided by Drupal core and the System module.

Code

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