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

[TASK] Release version 6.0.5

parent 348ed808
No related branches found
Tags 6.0.5
No related merge requests found
......@@ -89,9 +89,9 @@ if (interface_exists('TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface
*/
protected function adaptPluginHeaderContent(&$headerContent, $row): void {
$headerContent = '<h4>' . $this->getPluginNameForHeaderContent(
(int) $row['pid'],
$row['list_type']
) . $headerContent . '</h4>';
(int) $row['pid'],
$row['list_type']
) . $headerContent . '</h4>';
}
/**
......
......@@ -50,9 +50,9 @@ class PreviewRenderer implements PreviewRendererInterface {
public function renderPageModulePreviewHeader(GridColumnItem $item): string {
if (version_compare(\TYPO3\CMS\Core\Utility\VersionNumberUtility::getCurrentTypo3Version(), '12.0.0', '>=')) {
return '<h4>' . $this->getPluginNameForHeaderContent(
(int) $item->getRecord()['pid'],
$item->getRecord()['list_type']
) . '</h4>';
(int) $item->getRecord()['pid'],
$item->getRecord()['list_type']
) . '</h4>';
}
return '';
......
......@@ -53,11 +53,13 @@ class PreviewService {
'maxResults' => $this->passVDefOnKeyToTemplate($pluginConfiguration, 'settings.maxResults'),
'showTitle' => (int) ($this->passVDefOnKeyToTemplate($pluginConfiguration, 'settings.showTitle') ?? 1),
'showDescription' => (int) ($this->passVDefOnKeyToTemplate(
$pluginConfiguration, 'settings.showDescription'
$pluginConfiguration,
'settings.showDescription'
) ?? 1),
'disableLightbox' => $this->passVDefOnKeyToTemplate($pluginConfiguration, 'settings.disableLightbox'),
'disableLightboxMobile' => $this->passVDefOnKeyToTemplate(
$pluginConfiguration, 'settings.disableLightboxMobile'
$pluginConfiguration,
'settings.disableLightboxMobile'
),
'aspectRatio' => $this->passVDefOnKeyToTemplate($pluginConfiguration, 'settings.aspectRatio'),
'thumbnailType' => $this->passVDefOnKeyToTemplate($pluginConfiguration, 'settings.thumbnailType'),
......
......@@ -176,8 +176,8 @@ class YoutubeService {
self::API_PART_LOCALIZATIONS
);
if (!isset($localizationData['items']) || (is_countable($localizationData['items']) ? count(
$localizationData['items']
) : 0) <= 0) {
$localizationData['items']
) : 0) <= 0) {
return $jsonArray;
}
......@@ -206,8 +206,8 @@ class YoutubeService {
foreach ($localizationData['items'] as $index => $localizationEntry) {
if (!isset($localizationEntry['localizations']) || (is_countable(
$localizationEntry['localizations']
) ? count($localizationEntry['localizations']) : 0) <= 0) {
$localizationEntry['localizations']
) ? count($localizationEntry['localizations']) : 0) <= 0) {
continue;
}
......
......@@ -4,7 +4,7 @@
"description": "A solution for embedding YouTube videos, playlists, or channels easily into TYPO3 pages.",
"homepage": "https://www.sgalinski.de",
"license": "GPL-2.0-or-later",
"version": "6.0.4",
"version": "6.0.5",
"require": {
"typo3/cms-core": "^10.4.0 || ^11.5.0 || ^12.4.0"
},
......
......@@ -35,7 +35,7 @@ $EM_CONF['sg_youtube'] = [
'internal' => '',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '6.0.4',
'version' => '6.0.5',
'constraints' => [
'depends' => [
'typo3' => '10.4.0-12.4.99',
......
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