Skip to content
Snippets Groups Projects
Commit b7a74cc1 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[FEATURE] Add TCA option showNewRecordLink

This introduces a new TCA option "showNewRecordLink"
for TCA type "inline". It can be used to disable the
"New record" link of inline elements, without any
side effects for other links/buttons.

As a consequence, the "levelLinksPosition" option
does not longer support the value "none", as this
behaviour (disabling all level links) should be achieved
by setting the link specific options to FALSE. This means,
the  "levelLinksPosition" options should only be used to
position the links, if shown at all. A TCA migration
is in place.

As another side effect, the previously - undocumented -
misuse of ['enabledControls']['new'] is resolved. The
mentioned option does now only affect the "+" button
in each records' header.

Resolves: #94765
Related: #94764
Related: #92397
Related: #82489
Releases: master
Change-Id: I52bd633714d5527fec8afb37e250ef1782205ed9
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70315


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent ff06d679
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment