Skip to content

Commit

Permalink
Update Index.rst (#4835)
Browse files Browse the repository at this point in the history
Check second parameter $type for the function addPlugin() here: https://github.com/TYPO3/typo3/blob/v12.4.22/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php#L966

It's "list_type", not "list-type"
  • Loading branch information
instruccionesaldorso authored Oct 16, 2024
1 parent ac782c4 commit 76992f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/ApiOverview/ContentElements/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ To register such a plugin as content element you can use function
.. literalinclude:: _Plugins/_tt_content_plugin.php
:caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php

By using `'list-type'` as second parameter is is also possible to add the plugin
By using `'list_type'` as second parameter is is also possible to add the plugin
as a list type. See :ref:`plugins-list_type`.

**Plugins** are a specific type of content elements. Plugins use the CType='list'.
Expand Down

0 comments on commit 76992f4

Please sign in to comment.