code/Controller/AssetAdmin.php
public function init()
    {
        parent::init();

        Requirements::add_i18n_javascript('silverstripe/asset-admin:client/lang', false, true);
        Requirements::javascript('silverstripe/asset-admin:client/dist/js/bundle.js');
        Requirements::css('silverstripe/asset-admin:client/dist/styles/bundle.css');

        CMSBatchActionHandler::register('delete', DeleteAssets::class, Folder::class);
    }
public function init()
    {
        parent::init();

        Requirements::add_i18n_javascript('silverstripe/asset-admin:client/lang', false, true);
        Requirements::javascript('silverstripe/asset-admin:client/dist/js/bundle.js');
        Requirements::css('silverstripe/asset-admin:client/dist/styles/bundle.css');

        CMSBatchActionHandler::register('delete', DeleteAssets::class, Folder::class);
    }
public function init ( ) { parent :: init ( ) ; Requirements :: add_i18n_javascript ( 'silverstripe/asset-admin:client/lang' , false , true ) ; Requirements :: javascript ( 'silverstripe/asset-admin:client/dist/js/bundle.js' ) ; Requirements :: css ( 'silverstripe/asset-admin:client/dist/styles/bundle.css' ) ; CMSBatchActionHandler :: register ( 'delete' , DeleteAssets :: class , Folder :: class ) ; }
Set up the controller
Set up the controller