Review main Merged

70315[FEATURE] Add TCA option showNewRecordLink

Oli Bartsch CR +2 V +2 Normal +233 −10 updated 08/12/21, 16:24

Commit message

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.

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 4

Files 6