Skip to content

Commit

Permalink
#55 TYPO3 11
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkPersky committed Mar 16, 2021
1 parent 60895ab commit 2c82951
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
9 changes: 0 additions & 9 deletions Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,4 @@
* @license MIT
*/

use TYPO3\CMS\Extbase\Utility\ExtensionUtility;

defined('TYPO3_MODE') || die();

// Register Plugin and name SPaces
ExtensionUtility::registerPlugin(
'DpCookieconsent',
'CookieConsent',
'CookieConsent'
);
15 changes: 6 additions & 9 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,18 @@
'title' => 'Cookie Consent',
'description' => 'Include Cookie Consent, a lightweight JavaScript plugin for alerting users about the use of cookies on your website.',
'category' => 'fe',
'state' => 'stable',
'uploadfolder' => 0,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'clearCacheOnLoad' => true,
'author' => 'Dirk Persky',
'author_company' => '',
'author_email' => '[email protected]',
'version' => '10.7.0',
'constraints' => [
'depends' => [
'typo3' => '6.2.0-10.4.99'
'typo3' => '6.2.0-11.1.99'
],
'conflicts' => [],
'suggests' => [
'setup' => '',
],
'suggests' => [],
],
'state' => 'stable',
'version' => '11.0.0'
];

11 changes: 0 additions & 11 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,3 @@
*/

defined('TYPO3_MODE') or die();
$boot = function () {
// Register FE namespace
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'DpCookieconsent',
'CookieConsent',
[]
);
};

$boot();
unset($boot);

0 comments on commit 2c82951

Please sign in to comment.