function hook_archiver_info_alter
Same name in other branches
- 9 core/lib/Drupal/Core/File/file.api.php \hook_archiver_info_alter()
- 8.9.x core/lib/Drupal/Core/File/file.api.php \hook_archiver_info_alter()
- 10 core/lib/Drupal/Core/File/file.api.php \hook_archiver_info_alter()
- 11.x core/lib/Drupal/Core/File/file.api.php \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 invocation of hook_archiver_info_alter()
- archiver_get_info in includes/
common.inc - Retrieves a list of all available archivers.
File
-
modules/
system/ system.api.php, line 4106
Code
function hook_archiver_info_alter(&$info) {
$info['tar']['extensions'][] = 'tgz';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.