Skip to content
Snippets Groups Projects
Commit f2a53617 authored by Naderio's avatar Naderio Committed by Christian Kuhn
Browse files

[TASK] Updated docblock for addTcaSelectItem()

Described optional 4th parameter for the $item array, which is used to add
items to defined groups from addTcaSelectItemGroup().

Releases: master
Resolves: #92479
Change-Id: I837c654c90d6e2305558125e697cde5c520bd271
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66009


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarDaniel Haupt <mail@danielhaupt.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 82ae8718
Branches
Tags
No related merge requests found
...@@ -424,6 +424,9 @@ class ExtensionManagementUtility ...@@ -424,6 +424,9 @@ class ExtensionManagementUtility
* - $relativeToField = mailform * - $relativeToField = mailform
* - $relativePosition = after * - $relativePosition = after
* *
* $item has an optional fourth parameter for the groupId (string), to attach the
* new item to. The groupname is defined when a group is added with addTcaSelectItemGroup
*
* @throws \InvalidArgumentException If given parameters are not of correct * @throws \InvalidArgumentException If given parameters are not of correct
* @throws \RuntimeException If reference to related position fields can not * @throws \RuntimeException If reference to related position fields can not
* @param string $table Name of TCA table * @param string $table Name of TCA table
......
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