Skip to content

Commit 4f59f55

Browse files
authored
Correct the syntax for registring global namespace. (#6323)
* Correct the syntax for registring global namespace. * Remove unused ViewHelpers import Removed unused import of MyVendor\MyExtension\ViewHelpers. * Add namespace configuration for myextension
1 parent f539b79 commit 4f59f55

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Documentation/ApiOverview/Fluid/_Syntax/_ext_localconf.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
declare(strict_types=1);
44

5-
use MyVendor\MyExtension\ViewHelpers;
6-
75
defined('TYPO3') or die();
86

97
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['myextension'] = [
10-
ViewHelpers::class,
8+
'MyVendor\\MyExtension\\ViewHelpers',
119
];

0 commit comments

Comments
 (0)