Deprecation: #92922 - Use of record uid in AbstractTreeView::getIcon()

See forge#92922

Description

To increase the type safety through the whole TYPO3 core and to properly reflect the expected value for the parameter (based on its name), calling AbstractTreeView::getIcon() with a record uid as first argument has been marked as deprecated.

Note: Using a record uid had actually no benefit (performance wise) since the method fetched the record internally in that case anyways, but without adding any restrictions or respecting any overlays e.g. for workspaces.

Impact

Calling the method with an integer for parameter $row will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

All installations calling this method with an integer for parameter $row.

Migration

Provide the full record row as first argument.