Bug #90113
closedWrong explaination of addPlugin
100%
Description
Hallo Core Team,
in ExtensionManagerUtility at addPlugin you wrote:
@param array $itemArray Numerical array: [0] => Plugin label, [1] => Underscored extension key, [2] => Path to plugin icon...
Of cause array key 1 could be the extension key, but one extension can provide multiple plugins and in that case you need something to differ.
It's the value which will be stored in column CType (or list_type). It's more a plugin name or a content element identifier. Further you have the extensionName as third parameter already. So it does not make sense to define ExtKey twice.
Stefan
Updated by Gerrit Code Review almost 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62921
Updated by Gerrit Code Review almost 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62934
Updated by Benni Mack almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6d374b66669f9ab5b27658a4e77b05624c0802ae.