Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_youtube
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_youtube
Commits
feea418b
Commit
feea418b
authored
1 year ago
by
Georgi
Browse files
Options
Downloads
Plain Diff
[TASK] merge conflicts with master
parents
aa5c802d
033d1f1a
No related branches found
Branches containing commit
Tags
4.2.2
Tags containing commit
1 merge request
!10
Feature bugfix release
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Configuration/Icons.php
+17
-0
17 additions, 0 deletions
Configuration/Icons.php
ext_icon.png
+0
-0
0 additions, 0 deletions
ext_icon.png
ext_localconf.php
+0
-8
0 additions, 8 deletions
ext_localconf.php
with
17 additions
and
8 deletions
Configuration/Icons.php
0 → 100644
+
17
−
0
View file @
feea418b
<?php
/**
* Important! Do not return a variable named $icons, because it will result in an error.
* The core requires this file and then the variable names will clash.
* Either use a closure here, or do not call your variable $icons.
*/
$iconList
=
[];
foreach
([
'extension-sg_youtube'
=>
'youtube.svg'
]
as
$identifier
=>
$path
)
{
$iconList
[
$identifier
]
=
[
'provider'
=>
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider
::
class
,
'source'
=>
'EXT:sg_youtube/Resources/Public/Icons/'
.
$path
,
];
}
return
$iconList
;
This diff is collapsed.
Click to expand it.
ext_icon.png
deleted
100644 → 0
+
0
−
0
View file @
aa5c802d
27.7 KiB
This diff is collapsed.
Click to expand it.
ext_localconf.php
+
0
−
8
View file @
feea418b
...
@@ -13,14 +13,6 @@
...
@@ -13,14 +13,6 @@
'@import "EXT:sg_youtube/Configuration/TsConfig/Page/NewContentElementWizard.tsconfig"'
'@import "EXT:sg_youtube/Configuration/TsConfig/Page/NewContentElementWizard.tsconfig"'
);
);
// Register Icons
$iconRegistry
=
\TYPO3\CMS\Core\Utility\GeneralUtility
::
makeInstance
(
\TYPO3\CMS\Core\Imaging\IconRegistry
::
class
);
$iconRegistry
->
registerIcon
(
'extension-sg_youtube'
,
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider
::
class
,
[
'source'
=>
'EXT:sg_youtube/Resources/Public/Icons/youtube.svg'
]
);
// Caching
// Caching
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SYS'
][
'caching'
][
'cacheConfigurations'
][
'sgyoutube_cache'
]
??=
[];
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SYS'
][
'caching'
][
'cacheConfigurations'
][
'sgyoutube_cache'
]
??=
[];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment