From be33a859b7bcd71b9684d14d15201e4737c9a64a Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Thu, 23 Jan 2025 13:29:13 +0000 Subject: [PATCH] Issue #3454891 by quietone, xjm: Correct references to removed hook_archiver_info() --- core/lib/Drupal/Core/File/file.api.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/lib/Drupal/Core/File/file.api.php b/core/lib/Drupal/Core/File/file.api.php index e4001b39d1c7..2dba03fb94a9 100644 --- a/core/lib/Drupal/Core/File/file.api.php +++ b/core/lib/Drupal/Core/File/file.api.php @@ -133,11 +133,12 @@ function hook_file_mimetype_mapping_alter(&$mapping) { /** * Alter archiver information declared by other modules. * - * See hook_archiver_info() for a description of archivers and the archiver - * information structure. - * * @param array $info - * Archiver information to alter (return values from hook_archiver_info()). + * An associative array of archivers, keyed by archiver ID. Each value + * consists of the plugin definition for that archiver. + * + * @see \Drupal\Core\Archiver\ArchiverManager + * @see \Drupal\Core\Archiver\Attribute\Archiver */ function hook_archiver_info_alter(&$info) { $info['tar']['extensions'][] = 'tgz'; -- GitLab