Skip to content

Commit

Permalink
Merge pull request #260 from beatrycze-volk/fix-config-plugin
Browse files Browse the repository at this point in the history
Fix `ExtensionUtility::configurePlugin` calls
  • Loading branch information
beatrycze-volk authored Dec 4, 2023
2 parents f498e8d + ff74480 commit 18f6f95
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,23 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/

// Register plugins.
// ExtensionManagementUtility::addPItoST43('dfgviewer', 'Classes/Plugins/Sru/Sru.php', '_sru', 'list_type', TRUE);

// Register Extbase plugins
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Slub.Dfgviewer',
'Dfgviewer',
'Uri',
[
Uri::class => 'main'
\Slub\Dfgviewer\Controller\UriController::class => 'main'
],
// non-cacheable actions
[
]
);

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Slub.Dfgviewer',
'Dfgviewer',
'Sru',
[
Sru::class => 'main'
\Slub\Dfgviewer\Controller\SruController::class => 'main'
],
// non-cacheable actions
[
Expand Down

0 comments on commit 18f6f95

Please sign in to comment.