file_icon_class() and file_icon_map() are deprecated and replaced with a utility class

Created on 28 May 2024, 10 months ago

Drupal version

10.3

Drupal Rector version

0.20.1

Problem / Motivation

See https://www.drupal.org/node/3411269

file_icon_class() and file_icon_map() are deprecated and replaced with static methods on \Drupal\file\IconMimeTypes

https://dev.acquia.com/drupal11/deprecation_status/errors/26

Feature request
Status

Needs review

Component

Code

Created by

🇳🇱Netherlands timohuisman Leiden, Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024