Deprecation: #96500 - ContentObjectRenderer->getMailTo

See Issue #96500

Description

Since Issue #96483, the <f:link.email/> ViewHelper is directly using TypoLink for the email link generation. As a result, the ContentObjectRenderer->getMailTo() method was only used in EmailLinkBuilder, the central place for building email links with TypoLink.

To stick to the separation of concerns principle, the corresponding functionality has been moved to EmailLinkBuilder->processEmailLink() and the ContentObjectRenderer->getMailTo() method has been marked as deprecated.

Impact

Calling ContentObjectRenderer->getMailTo() will trigger a PHP E_USER_DEPRECATED error. The extension scanner will find usages as weak match.

Affected Installations

All installations directly calling ContentObjectRenderer->getMailTo() in custom extension code.

Migration

All occurences in extension code have to be replaced by EmailLinkBuilder->processEmailLink().