Review main Merged

64055[TASK] Deprecate various hooks in ContentObjectRenderer

Benni Mack CR +2 V +2 Normal +83 −0 updated 04/04/20, 06:26

Commit message

The following hooks within ContentObjectRenderer have been marked as deprecated:

* $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass']
* $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClassDefault']

Both concepts have been superseded in TYPO3 v6 with custom cObjects via

$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']

* $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['extLinkATagParamsHandler']
* cObj->extLinkATagParams() is now also marked as internal, as it serves no purpose anymore once the hook gets removed.

In addition
* $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typolinkLinkHandler']
is deprecated since the initial addition of LinkHandler APIs in TYPO3 v8.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 5