Neos.Media.Browser/Classes/Controller/AssetController.php
public function newAction(): void
    {
        try {
            $maximumFileUploadSize = $this->getMaximumFileUploadSize();
        } catch (FilesException $e) {
            $maximumFileUploadSize = null;
        }

        $this->view->assignMultiple([
            'tags' => $this->tagRepository->findAll(),
            'assetCollections' => $this->assetCollectionRepository->findAll(),
            'maximumFileUploadSize' => $maximumFileUploadSize,
            'humanReadableMaximumFileUploadSize' => Files::bytesToSizeString($maximumFileUploadSize)
        ]);
    }
public function newAction(): void
    {
        try {
            $maximumFileUploadSize = $this->getMaximumFileUploadSize();
        } catch (FilesException $e) {
            $maximumFileUploadSize = null;
        }

        $this->view->assignMultiple([
            'tags' => $this->tagRepository->findAll(),
            'assetCollections' => $this->assetCollectionRepository->findAll(),
            'maximumFileUploadSize' => $maximumFileUploadSize,
            'humanReadableMaximumFileUploadSize' => Files::bytesToSizeString($maximumFileUploadSize)
        ]);
    }
public function newAction ( ) : void { try { $ maximumFileUploadSize = $ this -> getMaximumFileUploadSize ( ) ; } catch ( FilesException $ e ) { $ maximumFileUploadSize = null ; } $ this -> view -> assignMultiple ( [ 'tags' => $ this -> tagRepository -> findAll ( ) , 'assetCollections' => $ this -> assetCollectionRepository -> findAll ( ) , 'maximumFileUploadSize' => $ maximumFileUploadSize , 'humanReadableMaximumFileUploadSize' => Files :: bytesToSizeString ( $ maximumFileUploadSize ) ] ) ; }
New asset form

@return void
New asset form