Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_jobs
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
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_jobs
Commits
94a9884d
Commit
94a9884d
authored
1 year ago
by
Kevin von Spiczak
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] fix missing backend module icon for TYPO3 10
parent
05c81aa0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ext_localconf.php
+13
-0
13 additions, 0 deletions
ext_localconf.php
with
13 additions
and
0 deletions
ext_localconf.php
+
13
−
0
View file @
94a9884d
...
...
@@ -75,5 +75,18 @@ call_user_func(
);
$GLOBALS
[
'TYPO3_CONF_VARS'
][
'SC_OPTIONS'
][
'languagevisibility'
][
'recordElementSupportedTables'
][
'tx_sgjobs_domain_model_job'
]
=
[];
// register icons for TYPO3 10 compatibility
if
(
version_compare
(
\TYPO3\CMS\Core\Utility\VersionNumberUtility
::
getCurrentTypo3Version
(),
'11.0.0'
,
'<'
))
{
$iconRegistry
=
\TYPO3\CMS\Core\Utility\GeneralUtility
::
makeInstance
(
\TYPO3\CMS\Core\Imaging\IconRegistry
::
class
);
$iconRegistry
->
registerIcon
(
'extension-sg_jobs-module'
,
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider
::
class
,
[
'source'
=>
'EXT:sg_jobs/Resources/Public/Icons/module-sgjobs.svg'
]
);
}
}
);
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