Deprecation: #79122 - Deprecate method getRecordsByField

See forge#79122

Description

The method TYPO3\CMS\Backend\Utility\BackendUtility::getRecordsByField() has been deprecated and should not be used any longer.

Impact

Calling the deprecated getRecordsByField() method will trigger a deprecation log entry.

Affected Installations

Any installation using the mentioned method getRecordsByField().

Migration

Use the ConnectionPool and the QueryBuilder classes directly to query the database from your code.