protected static function adaptLogos($extKey)
    {
        // Configure TBE_STYLES (TYPO3 = 7.6)
        if (static::isVersion('7.6')) {
            $GLOBALS['TBE_STYLES']['logo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($extKey) . 'Resources/Public/Images/Backend/gilbertsoft-t3-topbar@2x.png';
        }

        // Configure Backend Extension
        if (!is_array($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'])) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'] = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']);
        }

        // Login Logo (TYPO3 >= 7.6)
        if (static::isCompatVersion('7.6')) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['loginLogo'] = 'EXT:' . $extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-login.png';
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['loginHighlightColor'] = '#004A99';
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['loginBackgroundImage'] = 'EXT:' . $extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-background.jpg';
        }

        // Backend Logo (TYPO3 >= 8.7)
        if (static::isCompatVersion('8.7')) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['backendLogo'] = 'EXT:' . $extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-topbar@2x.png';
        }

        if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'])) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'] = serialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']);
        }
    }
protected static function adaptLogos($extKey)
    {
        // Configure TBE_STYLES (TYPO3 = 7.6)
        if (static::isVersion('7.6')) {
            $GLOBALS['TBE_STYLES']['logo'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($extKey) . 'Resources/Public/Images/Backend/gilbertsoft-t3-topbar@2x.png';
        }

        // Configure Backend Extension
        if (!is_array($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'])) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'] = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']);
        }

        // Login Logo (TYPO3 >= 7.6)
        if (static::isCompatVersion('7.6')) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['loginLogo'] = 'EXT:' . $extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-login.png';
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['loginHighlightColor'] = '#004A99';
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['loginBackgroundImage'] = 'EXT:' . $extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-background.jpg';
        }

        // Backend Logo (TYPO3 >= 8.7)
        if (static::isCompatVersion('8.7')) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']['backendLogo'] = 'EXT:' . $extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-topbar@2x.png';
        }

        if (is_array($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'])) {
            $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend'] = serialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['backend']);
        }
    }
protected static function adaptLogos ( $ extKey ) { // Configure TBE_STYLES (TYPO3 = 7.6)
 if ( static :: isVersion ( '7.6' ) ) { $ GLOBALS [ 'TBE_STYLES' ] [ 'logo' ] = \ TYPO3 \ CMS \ Core \ Utility \ ExtensionManagementUtility :: extRelPath ( $ extKey ) . 'Resources/Public/Images/Backend/gilbertsoft-t3-topbar@2x.png' ; } // Configure Backend Extension
 if ( ! is_array ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] ) ) { $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] = unserialize ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] ) ; } // Login Logo (TYPO3 >= 7.6)
 if ( static :: isCompatVersion ( '7.6' ) ) { $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] [ 'loginLogo' ] = 'EXT:' . $ extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-login.png' ; $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] [ 'loginHighlightColor' ] = '#004A99' ; $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] [ 'loginBackgroundImage' ] = 'EXT:' . $ extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-background.jpg' ; } // Backend Logo (TYPO3 >= 8.7)
 if ( static :: isCompatVersion ( '8.7' ) ) { $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] [ 'backendLogo' ] = 'EXT:' . $ extKey . '/Resources/Public/Images/Backend/gilbertsoft-t3-topbar@2x.png' ; } if ( is_array ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] ) ) { $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] = serialize ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'backend' ] ) ; } }
Adapt Backend Styling

@param string $extKey Extension Key
@return void
Adapt Backend Styling