Skip to content
Snippets Groups Projects
Commit 8cecf830 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

Merge branch 'feature_Upgrade-to-TYPO3-10' into 'master'

Feature upgrade to typo3 10

See merge request !2
parents c96fbedc 6566bd97
No related branches found
No related tags found
1 merge request!2Feature upgrade to typo3 10
<?php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'sg_youtube',
'Configuration/TypoScript',
'SG Youtube'
);
......@@ -4,3 +4,9 @@ $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['sgyoutube_yo
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'sgyoutube_youtube', 'FILE:EXT:sg_youtube/Configuration/FlexForms/flexform_sgyoutube_youtube.xml'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'SGalinski.sg_youtube',
'Youtube',
'YouTube Videos'
);
......@@ -8,7 +8,7 @@ Repository: https://gitlab.sgalinski.de/typo3/sg_youtube
Please report bugs here: https://gitlab.sgalinski.de/typo3/sg_youtube
TYPO3 version: >8.7
TYPO3 version: >9.5
## Installation / Integration
......
## Version 4 Breaking Changes
- Dropped TYPO3 8 support
......@@ -4,9 +4,9 @@
"description": "Embed YouTube Videos of a Playlist or Channel",
"homepage": "https://www.sgalinski.de",
"license": "GPL-2.0-or-later",
"version": "3.3.0",
"version": "4.0.0-dev",
"require": {
"typo3/cms-core": "^8.7.24 || ^9.5.4"
"typo3/cms-core": "^9.5.4 || ^10.4.0"
},
"require-dev": {
"roave/security-advisories": "dev-master"
......
......@@ -24,22 +24,22 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
$EM_CONF[$_EXTKEY] = [
$EM_CONF['sg_youtube'] = [
'title' => 'YouTube Videos',
'description' => 'Embed YouTube Videos of a Channel or Playlist',
'category' => 'plugin',
'author' => 'Johannes Kreiner',
'author_email' => 'johannes@sgalinski.de',
'author_company' => 'sgalinski Internet Services (https://www.sgalinski.de)',
'state' => 'stable',
'state' => 'experimental',
'internal' => '',
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '3.3.0',
'version' => '4.0.0-dev',
'constraints' => [
'depends' => [
'typo3' => '8.7.0-9.5.99',
'typo3' => '9.5.0-10.4.99',
],
'conflicts' => [],
'suggests' => [],
......
......@@ -29,7 +29,7 @@ if (!defined('TYPO3_MODE')) {
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'SGalinski.' . $_EXTKEY,
'SGalinski.sg_youtube',
'Youtube',
[
'Youtube' => 'index',
......
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'SGalinski.' . $_EXTKEY,
'Youtube',
'YouTube Videos'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'SG Youtube');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment