Neos.Media.Browser/Classes/Controller/AssetController.php
protected function initializeView(ViewInterface $view): void
    {
        $view->assignMultiple([
            'view' => $this->browserState->get('view'),
            'sortBy' => $this->browserState->get('sortBy'),
            'sortDirection' => $this->browserState->get('sortDirection'),
            'filter' => $this->browserState->get('filter'),
            'activeTag' => $this->browserState->get('activeTag'),
            'activeAssetCollection' => $this->browserState->get('activeAssetCollection'),
            'assetSources' => $this->assetSources,
            'variantsTabFeatureEnabled' => $this->settings['features']['variantsTab']['enable']
        ]);
    }
protected function initializeView(ViewInterface $view): void
    {
        $view->assignMultiple([
            'view' => $this->browserState->get('view'),
            'sortBy' => $this->browserState->get('sortBy'),
            'sortDirection' => $this->browserState->get('sortDirection'),
            'filter' => $this->browserState->get('filter'),
            'activeTag' => $this->browserState->get('activeTag'),
            'activeAssetCollection' => $this->browserState->get('activeAssetCollection'),
            'assetSources' => $this->assetSources,
            'variantsTabFeatureEnabled' => $this->settings['features']['variantsTab']['enable']
        ]);
    }
protected function initializeView ( ViewInterface $ view ) : void { $ view -> assignMultiple ( [ 'view' => $ this -> browserState -> get ( 'view' ) , 'sortBy' => $ this -> browserState -> get ( 'sortBy' ) , 'sortDirection' => $ this -> browserState -> get ( 'sortDirection' ) , 'filter' => $ this -> browserState -> get ( 'filter' ) , 'activeTag' => $ this -> browserState -> get ( 'activeTag' ) , 'activeAssetCollection' => $ this -> browserState -> get ( 'activeAssetCollection' ) , 'assetSources' => $ this -> assetSources , 'variantsTabFeatureEnabled' => $ this -> settings [ 'features' ] [ 'variantsTab' ] [ 'enable' ] ] ) ; }
Set common variables on the view

@param ViewInterface $view
@return void
Set common variables on the view