Skip to content

Commit

Permalink
Merge branch '2' into 3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 22, 2024
2 parents 8a0bd56 + ae7c21e commit 1c4d4ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/Controller/AssetAdminFieldsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@

use SilverStripe\Admin\LeftAndMain;
use SilverStripe\Core\Extension;
use SilverStripe\Dev\Deprecation;
use SilverStripe\View\Requirements;

/**
* @extends Extension<LeftAndMain>
* @deprecated 5.3.0 Will be replaced with YAML configuration
*/
class AssetAdminFieldsExtension extends Extension
{
public function __construct()
{
Deprecation::withNoReplacement(
fn () => Deprecation::notice('5.3.0', 'Will be replaced with YAML configuration', Deprecation::SCOPE_CLASS)
);
parent::__construct();
}

public function init()
{
Requirements::add_i18n_javascript('silverstripe/asset-admin:client/lang', false);
Expand Down

0 comments on commit 1c4d4ee

Please sign in to comment.