function system_archiver_info_alter
Implements hook_archiver_info_alter().
File
-
core/
modules/ system/ system.module, line 1360
Code
function system_archiver_info_alter(&$info) {
if (!class_exists(\ZipArchive::class)) {
// PHP Zip extension is missing.
unset($info['Zip']);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.