diff --git a/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php b/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php index a563a384f95c9eec07fba421032629e2373778b5..01dd9d02bd48b3228b90196d0184b2507438a070 100644 --- a/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php +++ b/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php @@ -282,10 +282,7 @@ class InlineControlContainer extends AbstractContainer } // Render the level links (create new record): - $levelLinks = ''; - if (!isset($config['appearance']['showNewRecordLink']) || $config['appearance']['showNewRecordLink']) { - $levelLinks = $this->getLevelInteractionLink('newRecord', $nameObject . '-' . $foreign_table, $config); - } + $levelLinks = $this->getLevelInteractionLink('newRecord', $nameObject . '-' . $foreign_table, $config); $formGroupAttributes = [ 'class' => 'form-group', diff --git a/typo3/sysext/core/Documentation/Changelog/master/Important-82489-UseDedicatedPropertyToHideNewRecordLinkButton.rst b/typo3/sysext/core/Documentation/Changelog/10.4.x/Important-82489-UseDedicatedPropertyToHideNewRecordLinkButton.rst similarity index 64% rename from typo3/sysext/core/Documentation/Changelog/master/Important-82489-UseDedicatedPropertyToHideNewRecordLinkButton.rst rename to typo3/sysext/core/Documentation/Changelog/10.4.x/Important-82489-UseDedicatedPropertyToHideNewRecordLinkButton.rst index c4ef8973899d1d4adac5fdeceb50b5dbedf7a236..0addc0a11afb50faab8875c21fefc0bf1866f7eb 100644 --- a/typo3/sysext/core/Documentation/Changelog/master/Important-82489-UseDedicatedPropertyToHideNewRecordLinkButton.rst +++ b/typo3/sysext/core/Documentation/Changelog/10.4.x/Important-82489-UseDedicatedPropertyToHideNewRecordLinkButton.rst @@ -17,11 +17,8 @@ column. The property is therefore from now on only used for the controls section of each inline record. -To still enable extension authors to hide the `newRecordLink` button, independent -of the controls `new` button, a new property :php:`['appearance']['showNewRecordLink']` -is now available for TCA type `inline`. - -For backwards compatibility the `newRecordLink` button is only hidden if -`showNewRecordLink` is explicit set to :php:`FALSE`. If not set the button is shown. +To to hide the `newRecordLink` button, independent of the controls `new` button, +use the already existing property :php:`['appearance']['levelLinksPosition']` +with `none` as value. .. index:: Backend, TCA, ext:backend