By kim.pepper on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
file_icon_class() and file_icon_map() are deprecated and replaced with static methods on \Drupal\file\IconMimeTypes
| Before | After |
|---|---|
file_icon_class() |
IconMimeTypes::getIconClass() |
file_icon_map() |
IconMimeTypes::getGenericMimeType() |