Skip to content

Commit

Permalink
[PRPORT] Update Index.rst (TYPO3-Documentation#4846)
Browse files Browse the repository at this point in the history
Preport of TYPO3-Documentation#4835

Already merged into 13.4 and 12.4

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"

Co-authored-by: Sergio Catalá <instruccionesaldorso@gmail.com>
  • Loading branch information
linawolf and instruccionesaldorso authored Oct 16, 2024
1 parent 62784b0 commit 9685208
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 9685208

Please sign in to comment.