Skip to content

Commit 7b8f5df

Browse files
committed
[fix] Add flexform to extbase plugin example
1 parent cf89525 commit 7b8f5df

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Documentation/ApiOverview/FlexForms/_codesnippets/_extbase_plugin.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
'my-extension-icon',
1111
'plugins',
1212
'Plugin description',
13-
'FILE:EXT:my_extension/Configuration/FlexForms/MyFlexform.xml',
1413
);
1514

1615
ExtensionManagementUtility::addToAllTCAtypes(
@@ -19,3 +18,9 @@
1918
$ctypeKey,
2019
'after:subheader',
2120
);
21+
22+
ExtensionManagementUtility::addPiFlexFormValue(
23+
'',
24+
'FILE:EXT:myext/Configuration/FlexForms/MyFlexform.xml',
25+
$ctypeKey,
26+
);

0 commit comments

Comments
 (0)