[TASK] Restructure typolink tag generation 76/51076/6
authorBenni Mack <benni@typo3.org>
Fri, 30 Dec 2016 22:23:43 +0000 (23:23 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 30 Mar 2017 22:37:53 +0000 (00:37 +0200)
commitd89c734e5cf996b3eeffc335f09d7f97fb6a12b6
tree1e1e4216a4c2585443f8a94d1dd782fde2e2395f
parent0c74ba85ab2f1cfa3b5170e61b61f342387fa0f4
[TASK] Restructure typolink tag generation

Information for creating the target and the class information etc. is
spread through the main function. Putting everything in one place and
using an array for building the <a> tag seems to be more appropriate.

The functionality for building the tag could now be moved in to a
separate function in a next step. Alternative would be to move the
resolving of the "target" field into a separate method.

Resolves: #80586
Releases: master
Change-Id: I38d33b64d75abbae2ed541e16c44fac66ab03f2e
Reviewed-on: https://review.typo3.org/51076
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php