mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
* Fix loosly comparison to strict + argument types and return types for >=7.0 * Change hard-coded strings to ::class, * Fix unit-tests failures - some relative to 7.0 phpunit env deployment * Fix exception string + format return types * Change string representation of new classes in traceLog to ::class Credit to @arthurkushman
27 lines
730 B
PHP
27 lines
730 B
PHP
<?php namespace Cms\Widgets;
|
|
|
|
use Backend\Widgets\MediaManager as BackendMediaManager;
|
|
|
|
/**
|
|
* Media Manager widget.
|
|
*
|
|
* @package october\cms
|
|
* @author Alexey Bobkov, Samuel Georges
|
|
* @deprecated Use Backend\Widgets\MediaManager. Remove if year >= 2020.
|
|
*/
|
|
class MediaManager extends BackendMediaManager
|
|
{
|
|
/**
|
|
* Constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
traceLog('Widget Cms\Widgets\MediaManager has been deprecated, use ' . BackendMediaManager::class . ' instead.');
|
|
|
|
$this->assetPath = '/modules/backend/widgets/mediamanager/assets';
|
|
$this->viewPath = base_path('/modules/backend/widgets/mediamanager/partials');
|
|
|
|
parent::__construct(...func_get_args());
|
|
}
|
|
}
|