2021-08-16 16:15:21 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of the package buepro/bookmark_pages.
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please read the
|
|
|
|
* LICENSE file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
defined('TYPO3') or die('Access denied.');
|
|
|
|
|
|
|
|
(function () {
|
2021-08-17 19:45:38 +02:00
|
|
|
|
2021-08-20 13:33:13 +02:00
|
|
|
|
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
|
|
|
'BookmarksLikesRatings',
|
|
|
|
'StatusBookmark',
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'status'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'status'
|
|
|
|
]
|
|
|
|
);
|
|
|
|
|
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
|
|
|
'BookmarksLikesRatings',
|
|
|
|
'ToggleBookmark',
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'toggle'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'toggle'
|
|
|
|
]
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
|
|
|
'BookmarksLikesRatings',
|
|
|
|
'StatusLike',
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\LikeController::class => 'status'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\LikeController::class => 'status'
|
|
|
|
]
|
|
|
|
);
|
|
|
|
|
2021-08-17 19:45:38 +02:00
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
2021-08-20 13:33:13 +02:00
|
|
|
'BookmarksLikesRatings',
|
|
|
|
'ToggleLike',
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\LikeController::class => 'toggle'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\LikeController::class => 'toggle'
|
|
|
|
]
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
|
|
|
'BookmarksLikesRatings',
|
2021-08-17 19:45:38 +02:00
|
|
|
'Bookmarks',
|
|
|
|
[
|
2021-08-20 13:33:13 +02:00
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'index, bookmark, delete, listEntries'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'bookmark, delete, listEntries'
|
|
|
|
]
|
|
|
|
);
|
|
|
|
|
|
|
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
|
|
|
'BookmarksLikesRatings',
|
|
|
|
'PersonalBookmarks',
|
|
|
|
[
|
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'personalList, delete'
|
2021-08-17 19:45:38 +02:00
|
|
|
],
|
|
|
|
[
|
2021-08-20 13:33:13 +02:00
|
|
|
\WapplerSystems\BookmarksLikesRatings\Controller\BookmarkController::class => 'personalList, delete'
|
2021-08-17 19:45:38 +02:00
|
|
|
]
|
|
|
|
);
|
|
|
|
|
2021-08-16 16:15:21 +02:00
|
|
|
})();
|