[TASK] Change PHP namespace of EXT:mediace to FoT3 21/44321/5
authorBenjamin Mack <benni@typo3.org>
Tue, 27 Oct 2015 15:08:01 +0000 (16:08 +0100)
committerBenni Mack <benni@typo3.org>
Wed, 28 Oct 2015 12:34:59 +0000 (13:34 +0100)
The PHP namespace for all PHP classes of EXT:mediace
is changed to "FoT3" as this code will be maintained by
the TYPO3 community under

https://github.com/FriendsOfTYPO3/mediace

Resolves: #71076
Releases: master
Change-Id: I4b14576bafcb3f4846a586c03ffc25ff2ac31384
Reviewed-on: https://review.typo3.org/44321
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
17 files changed:
composer.json
composer.lock
typo3/sysext/mediace/Classes/ContentObject/FlowPlayerContentObject.php
typo3/sysext/mediace/Classes/ContentObject/MediaContentObject.php
typo3/sysext/mediace/Classes/ContentObject/MultimediaContentObject.php
typo3/sysext/mediace/Classes/ContentObject/QuicktimeObjectContentObject.php
typo3/sysext/mediace/Classes/ContentObject/ShockwaveFlashObjectContentObject.php
typo3/sysext/mediace/Classes/Hooks/PageLayoutView/MultimediaPreviewRenderer.php
typo3/sysext/mediace/Classes/MediaWizard/MediaWizardProvider.php
typo3/sysext/mediace/Classes/MediaWizard/MediaWizardProviderInterface.php
typo3/sysext/mediace/Classes/MediaWizard/MediaWizardProviderManager.php
typo3/sysext/mediace/Migrations/Code/ClassAliasMap.php
typo3/sysext/mediace/Migrations/Code/LegacyClassesForIde.php
typo3/sysext/mediace/Tests/Unit/MediaWizard/MediaWizardProviderTest.php
typo3/sysext/mediace/composer.json
typo3/sysext/mediace/ext_emconf.php
typo3/sysext/mediace/ext_localconf.php

index 39d4ba7..ef86ef8 100644 (file)
                        "TYPO3\\CMS\\Info\\": "typo3/sysext/info/Classes/",
                        "TYPO3\\CMS\\InfoPagetsconfig\\": "typo3/sysext/info_pagetsconfig/Classes/",
                        "TYPO3\\CMS\\Install\\": "typo3/sysext/install/Classes/",
-                       "FoT3\\Jumpurl\\": "typo3/sysext/jumpurl/Classes/",
                        "TYPO3\\CMS\\Lang\\": "typo3/sysext/lang/Classes/",
                        "TYPO3\\CMS\\Linkvalidator\\": "typo3/sysext/linkvalidator/Classes/",
                        "TYPO3\\CMS\\Lowlevel\\": "typo3/sysext/lowlevel/Classes/",
                        "TYPO3\\CMS\\Impexp\\Tests\\": "typo3/sysext/impexp/Tests/",
                        "TYPO3\\CMS\\IndexedSearch\\Tests\\": "typo3/sysext/indexed_search/Tests/",
                        "TYPO3\\CMS\\Install\\Tests\\": "typo3/sysext/install/Tests/",
+                       "FoT3\\Jumpurl\\": "typo3/sysext/jumpurl/Classes/",
                        "FoT3\\Jumpurl\\Tests\\": "typo3/sysext/jumpurl/Tests/",
                        "TYPO3\\CMS\\Lang\\Tests\\": "typo3/sysext/lang/Tests/",
                        "TYPO3\\CMS\\Lowlevel\\Tests\\": "typo3/sysext/lowlevel/Tests/",
-                       "TYPO3\\CMS\\Mediace\\": "typo3/sysext/mediace/Classes/",
-                       "TYPO3\\CMS\\Mediace\\Tests\\": "typo3/sysext/mediace/Tests/",
+                       "FoT3\\Mediace\\": "typo3/sysext/mediace/Classes/",
+                       "FoT3\\Mediace\\Tests\\": "typo3/sysext/mediace/Tests/",
                        "TYPO3\\CMS\\Recordlist\\Tests\\": "typo3/sysext/recordlist/Tests/",
                        "TYPO3\\CMS\\Reports\\Tests\\": "typo3/sysext/reports/Tests/",
                        "TYPO3\\CMS\\Rsaauth\\Tests\\": "typo3/sysext/rsaauth/Tests/",
index af7e83a..5a266fa 100644 (file)
@@ -4,8 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "hash": "e849bfdd07351089ccc5dfc6c0a9bdf2",
-    "content-hash": "261231e5b9831e0b744cfa3ec7e55315",
+    "hash": "5ddec795d6eef6b9142eac36815546a0",
     "packages": [
         {
             "name": "cogpowered/finediff",
index 6d3a044..8f3a7fc 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\ContentObject;
+namespace FoT3\Mediace\ContentObject;
 
 /*
  * This file is part of the TYPO3 CMS project.
index b11fc8b..800f515 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\ContentObject;
+namespace FoT3\Mediace\ContentObject;
 
 /*
  * This file is part of the TYPO3 CMS project.
@@ -168,7 +168,7 @@ class MediaContentObject extends \TYPO3\CMS\Frontend\ContentObject\AbstractConte
                 $conf['forcePlayer'] = 0;
                 $renderType = 'swf';
             } elseif (isset($conf['file']) && strpos($conf['file'], '://') !== false) {
-                $mediaWizard = \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderManager::getValidMediaWizardProvider($conf['file']);
+                $mediaWizard = \FoT3\Mediace\MediaWizard\MediaWizardProviderManager::getValidMediaWizardProvider($conf['file']);
                 if ($mediaWizard !== null) {
                     $conf['installUrl'] = 'null';
                     $conf['forcePlayer'] = 0;
@@ -242,8 +242,8 @@ class MediaContentObject extends \TYPO3\CMS\Frontend\ContentObject\AbstractConte
         // because the file value can possibly have link parameters, use explode to split all values
         $fileParts = explode(' ', $file);
 
-        /** @var $mediaWizard \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderInterface */
-        $mediaWizard = \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderManager::getValidMediaWizardProvider($fileParts[0]);
+        /** @var $mediaWizard \FoT3\Mediace\MediaWizard\MediaWizardProviderInterface */
+        $mediaWizard = \FoT3\Mediace\MediaWizard\MediaWizardProviderManager::getValidMediaWizardProvider($fileParts[0]);
         // Get the path relative to the page currently outputted
         if (substr($fileParts[0], 0, 5) === 'file:') {
             $fileUid = substr($fileParts[0], 5);
index 0f82e3f..5284d7b 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\ContentObject;
+namespace FoT3\Mediace\ContentObject;
 
 /*
  * This file is part of the TYPO3 CMS project.
index fa7b0d9..a23a0b8 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\ContentObject;
+namespace FoT3\Mediace\ContentObject;
 
 /*
  * This file is part of the TYPO3 CMS project.
index 65221e9..daa4e48 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\Hooks\PageLayoutView;
+namespace FoT3\Mediace\Hooks\PageLayoutView;
 
 /*
  * This file is part of the TYPO3 CMS project.
index 700157c..bca3d60 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\MediaWizard;
+namespace FoT3\Mediace\MediaWizard;
 
 /*
  * This file is part of the TYPO3 CMS project.
index 8e85051..7807620 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\MediaWizard;
+namespace FoT3\Mediace\MediaWizard;
 
 /*
  * This file is part of the TYPO3 CMS project.
index ed3b257..1cec342 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\MediaWizard;
+namespace FoT3\Mediace\MediaWizard;
 
 /*
  * This file is part of the TYPO3 CMS project.
index c6ad3a8..14af464 100644 (file)
@@ -1,19 +1,28 @@
 <?php
 return array(
-    'TYPO3\\CMS\\Frontend\\ContentObject\\FlowplayerContentObject' => \TYPO3\CMS\Mediace\ContentObject\FlowplayerContentObject::class,
-    'TYPO3\\CMS\\Frontend\\ContentObject\\MediaContentObject' => \TYPO3\CMS\Mediace\ContentObject\MediaContentObject::class,
-    'TYPO3\\CMS\\Frontend\\ContentObject\\MultimediaContentObject' => \TYPO3\CMS\Mediace\ContentObject\MultimediaContentObject::class,
-    'TYPO3\\CMS\\Frontend\\ContentObject\\QuicktimeObjectContentObject' => \TYPO3\CMS\Mediace\ContentObject\QuicktimeObjectContentObject::class,
-    'TYPO3\\CMS\\Frontend\\ContentObject\\ShockwaveFlashObjectContentObject' => \TYPO3\CMS\Mediace\ContentObject\ShockwaveFlashObjectContentObject::class,
-    'TYPO3\\CMS\\Frontend\\MediaWizard\MediaWizardProvider' => \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProvider::class,
-    'TYPO3\\CMS\\Frontend\\MediaWizard\MediaWizardProviderInterface' => \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderInterface::class,
-    'TYPO3\\CMS\\Frontend\\MediaWizard\MediaWizardProviderManager' => \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderManager::class,
-    'tslib_content_FlowPlayer' => \TYPO3\CMS\Mediace\ContentObject\FlowPlayerContentObject::class,
-    'tslib_content_Media' => \TYPO3\CMS\Mediace\ContentObject\MediaContentObject::class,
-    'tslib_content_Multimedia' => \TYPO3\CMS\Mediace\ContentObject\MultimediaContentObject::class,
-    'tslib_content_QuicktimeObject' => \TYPO3\CMS\Mediace\ContentObject\QuicktimeObjectContentObject::class,
-    'tslib_content_ShockwaveFlashObject' => \TYPO3\CMS\Mediace\ContentObject\ShockwaveFlashObjectContentObject::class,
-    'tslib_mediaWizardCoreProvider' => \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProvider::class,
-    'tslib_mediaWizardProvider' => \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderInterface::class,
-    'tslib_mediaWizardManager' => \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderManager::class,
+    'TYPO3\\CMS\\Frontend\\ContentObject\\FlowplayerContentObject' => \FoT3\Mediace\ContentObject\FlowplayerContentObject::class,
+    'TYPO3\\CMS\\Frontend\\ContentObject\\MediaContentObject' => \FoT3\Mediace\ContentObject\MediaContentObject::class,
+    'TYPO3\\CMS\\Frontend\\ContentObject\\MultimediaContentObject' => \FoT3\Mediace\ContentObject\MultimediaContentObject::class,
+    'TYPO3\\CMS\\Frontend\\ContentObject\\QuicktimeObjectContentObject' => \FoT3\Mediace\ContentObject\QuicktimeObjectContentObject::class,
+    'TYPO3\\CMS\\Frontend\\ContentObject\\ShockwaveFlashObjectContentObject' => \FoT3\Mediace\ContentObject\ShockwaveFlashObjectContentObject::class,
+    'TYPO3\\CMS\\Frontend\\MediaWizard\MediaWizardProvider' => \FoT3\Mediace\MediaWizard\MediaWizardProvider::class,
+    'TYPO3\\CMS\\Frontend\\MediaWizard\MediaWizardProviderInterface' => \FoT3\Mediace\MediaWizard\MediaWizardProviderInterface::class,
+    'TYPO3\\CMS\\Frontend\\MediaWizard\MediaWizardProviderManager' => \FoT3\Mediace\MediaWizard\MediaWizardProviderManager::class,
+    'TYPO3\\CMS\\Mediace\\ContentObject\\FlowplayerContentObject' => \FoT3\Mediace\ContentObject\FlowplayerContentObject::class,
+    'TYPO3\\CMS\\Mediace\\ContentObject\\MediaContentObject' => \FoT3\Mediace\ContentObject\MediaContentObject::class,
+    'TYPO3\\CMS\\Mediace\\ContentObject\\MultimediaContentObject' => \FoT3\Mediace\ContentObject\MultimediaContentObject::class,
+    'TYPO3\\CMS\\Mediace\\ContentObject\\QuicktimeObjectContentObject' => \FoT3\Mediace\ContentObject\QuicktimeObjectContentObject::class,
+    'TYPO3\\CMS\\Mediace\\ContentObject\\ShockwaveFlashObjectContentObject' => \FoT3\Mediace\ContentObject\ShockwaveFlashObjectContentObject::class,
+    'TYPO3\\CMS\\Mediace\\Hooks\\PageLayoutView\\MultimediaPreviewRenderer' => \FoT3\Mediace\Hooks\PageLayoutView\MultimediaPreviewRenderer::class,
+    'TYPO3\\CMS\\Mediace\\MediaWizard\MediaWizardProvider' => \FoT3\Mediace\MediaWizard\MediaWizardProvider::class,
+    'TYPO3\\CMS\\Mediace\\MediaWizard\MediaWizardProviderInterface' => \FoT3\Mediace\MediaWizard\MediaWizardProviderInterface::class,
+    'TYPO3\\CMS\\Mediace\\MediaWizard\MediaWizardProviderManager' => \FoT3\Mediace\MediaWizard\MediaWizardProviderManager::class,
+    'tslib_content_FlowPlayer' => \FoT3\Mediace\ContentObject\FlowPlayerContentObject::class,
+    'tslib_content_Media' => \FoT3\Mediace\ContentObject\MediaContentObject::class,
+    'tslib_content_Multimedia' => \FoT3\Mediace\ContentObject\MultimediaContentObject::class,
+    'tslib_content_QuicktimeObject' => \FoT3\Mediace\ContentObject\QuicktimeObjectContentObject::class,
+    'tslib_content_ShockwaveFlashObject' => \FoT3\Mediace\ContentObject\ShockwaveFlashObjectContentObject::class,
+    'tslib_mediaWizardCoreProvider' => \FoT3\Mediace\MediaWizard\MediaWizardProvider::class,
+    'tslib_mediaWizardProvider' => \FoT3\Mediace\MediaWizard\MediaWizardProviderInterface::class,
+    'tslib_mediaWizardManager' => \FoT3\Mediace\MediaWizard\MediaWizardProviderManager::class,
 );
index 9f734b9..fe41608 100644 (file)
@@ -3,55 +3,55 @@ die('Access denied');
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tslib_content_FlowPlayer extends \TYPO3\CMS\Mediace\ContentObject\FlowPlayerContentObject
+class tslib_content_FlowPlayer extends \FoT3\Mediace\ContentObject\FlowPlayerContentObject
 {
 }
 
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tslib_content_Media extends \TYPO3\CMS\Mediace\ContentObject\MediaContentObject
+class tslib_content_Media extends \FoT3\Mediace\ContentObject\MediaContentObject
 {
 }
 
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tslib_content_Multimedia extends \TYPO3\CMS\Mediace\ContentObject\MultimediaContentObject
+class tslib_content_Multimedia extends \FoT3\Mediace\ContentObject\MultimediaContentObject
 {
 }
 
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tslib_content_QuicktimeObject extends \TYPO3\CMS\Mediace\ContentObject\QuicktimeObjectContentObject
+class tslib_content_QuicktimeObject extends \FoT3\Mediace\ContentObject\QuicktimeObjectContentObject
 {
 }
 
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tslib_content_ShockwaveFlashObject extends \TYPO3\CMS\Mediace\ContentObject\ShockwaveFlashObjectContentObject
+class tslib_content_ShockwaveFlashObject extends \FoT3\Mediace\ContentObject\ShockwaveFlashObjectContentObject
 {
 }
 
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tslib_mediaWizardCoreProvider extends \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProvider
+class tslib_mediaWizardCoreProvider extends \FoT3\Mediace\MediaWizard\MediaWizardProvider
 {
 }
 
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-interface tslib_mediaWizardProvider extends \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderInterface
+interface tslib_mediaWizardProvider extends \FoT3\Mediace\MediaWizard\MediaWizardProviderInterface
 {
 }
 
 /**
  * @deprecated since 6.0, removed since 7.0
  */
-class tslib_mediaWizardManager extends \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderManager
+class tslib_mediaWizardManager extends \FoT3\Mediace\MediaWizard\MediaWizardProviderManager
 {
 }
index 4dffdd0..e56d910 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Mediace\Tests\Unit\MediaWizard;
+namespace FoT3\Mediace\Tests\Unit\MediaWizard;
 
 /*
  * This file is part of the TYPO3 CMS project.
@@ -20,7 +20,7 @@ namespace TYPO3\CMS\Mediace\Tests\Unit\MediaWizard;
 class MediaWizardProviderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
 {
     /**
-     * @var \PHPUnit_Framework_MockObject_MockObject|\TYPO3\CMS\Core\Tests\AccessibleObjectInterface|\TYPO3\CMS\Mediace\MediaWizard\MediaWizardProvider
+     * @var \PHPUnit_Framework_MockObject_MockObject|\TYPO3\CMS\Core\Tests\AccessibleObjectInterface|\FoT3\Mediace\MediaWizard\MediaWizardProvider
      */
     protected $subject;
 
@@ -29,7 +29,7 @@ class MediaWizardProviderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
      */
     protected function setUp()
     {
-        $this->subject = $this->getAccessibleMock(\TYPO3\CMS\Mediace\MediaWizard\MediaWizardProvider::class, array('dummy'), array(), '', false);
+        $this->subject = $this->getAccessibleMock(\FoT3\Mediace\MediaWizard\MediaWizardProvider::class, array('dummy'), array(), '', false);
     }
 
     /**
index b364840..d3441a2 100644 (file)
@@ -1,12 +1,13 @@
 {
-       "name": "typo3/cms-mediace",
+       "name": "friendsoftypo3/mediace",
        "type": "typo3-cms-extension",
-       "description": "TYPO3 Core",
+       "description": "Friends of TYPO3",
        "homepage": "https://typo3.org",
        "license": ["GPL-2.0+"],
 
        "require": {
-               "typo3/cms-core": "*"
+               "typo3/cms-core": "7.5.0-7.99.99",
+               "typo3/cms-frontend": "7.5.0-7.99.99"
        },
        "replace": {
                "mediace": "*"
        },
        "autoload": {
                "psr-4": {
-                       "TYPO3\\CMS\\Mediace\\": "Classes/"
+                       "FoT3\\Mediace\\": "Classes/"
                }
        },
        "autoload-dev": {
                "psr-4": {
-                       "TYPO3\\CMS\\Mediace\\Tests\\": "Tests/"
+                       "FoT3\\Mediace\\Tests\\": "Tests/"
                }
        }
 }
index f03823f..c44d595 100644 (file)
@@ -3,8 +3,8 @@ $EM_CONF[$_EXTKEY] = array(
     'title' => 'Media Content Element',
     'description' => 'The media functionality from TYPO3 6.2 and earlier can be found here. This extension provides ContentObjects and Content Elements.',
     'category' => 'fe',
-    'author' => 'TYPO3 CMS Team',
-    'author_email' => 'info@typo3.org',
+    'author' => 'Friends of TYPO3',
+    'author_email' => 'friendsof@typo3.org',
     'state' => 'stable',
     'uploadfolder' => 0,
     'createDirs' => 'uploads/media',
index 26e6851..657351c 100644 (file)
@@ -2,11 +2,11 @@
 defined('TYPO3_MODE') or die();
 
 // Register additional content objects
-$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['MULTIMEDIA'] = \TYPO3\CMS\Mediace\ContentObject\MultimediaContentObject::class;
-$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['MEDIA']      = \TYPO3\CMS\Mediace\ContentObject\MediaContentObject::class;
-$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['SWFOBJECT']  = \TYPO3\CMS\Mediace\ContentObject\ShockwaveFlashObjectContentObject::class;
-$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['FLOWPLAYER'] = \TYPO3\CMS\Mediace\ContentObject\FlowPlayerContentObject::class;
-$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['QTOBJECT']   = \TYPO3\CMS\Mediace\ContentObject\QuicktimeObjectContentObject::class;
+$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['MULTIMEDIA'] = \FoT3\Mediace\ContentObject\MultimediaContentObject::class;
+$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['MEDIA']      = \FoT3\Mediace\ContentObject\MediaContentObject::class;
+$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['SWFOBJECT']  = \FoT3\Mediace\ContentObject\ShockwaveFlashObjectContentObject::class;
+$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['FLOWPLAYER'] = \FoT3\Mediace\ContentObject\FlowPlayerContentObject::class;
+$GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['QTOBJECT']   = \FoT3\Mediace\ContentObject\QuicktimeObjectContentObject::class;
 
 // Register the "media" CType to the "New Content Element" wizard
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
@@ -27,11 +27,11 @@ $GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']['QTOBJECT']   = \TYPO3\CMS\M
 
 if (TYPO3_MODE === 'FE') {
     // Register the basic media wizard provider
-    \TYPO3\CMS\Mediace\MediaWizard\MediaWizardProviderManager::registerMediaWizardProvider(\TYPO3\CMS\Mediace\MediaWizard\MediaWizardProvider::class);
+    \FoT3\Mediace\MediaWizard\MediaWizardProviderManager::registerMediaWizardProvider(\FoT3\Mediace\MediaWizard\MediaWizardProvider::class);
 }
 
 if (TYPO3_MODE === 'BE') {
     // Register for hook to show preview of tt_content element of CType="multimedia" in page module
     $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']['multimedia'] =
-        \TYPO3\CMS\Mediace\Hooks\PageLayoutView\MultimediaPreviewRenderer::class;
+        \FoT3\Mediace\Hooks\PageLayoutView\MultimediaPreviewRenderer::class;
 }