src/ScContent/Controller/Back/ThemeController.php
public function indexAction()
    {
        $view = new ViewModel();
        $service = $this->getThemeService();
        $view->registeredThemes = $service->getRegisteredThemes();
        $view->options = $this->getModuleOptions();
        $flashMessenger = $this->flashMessenger();
        if ($flashMessenger->hasMessages()) {
            $view->messages = $flashMessenger->getMessages();
        }
        return $view;
    }
public function indexAction()
    {
        $view = new ViewModel();
        $service = $this->getThemeService();
        $view->registeredThemes = $service->getRegisteredThemes();
        $view->options = $this->getModuleOptions();
        $flashMessenger = $this->flashMessenger();
        if ($flashMessenger->hasMessages()) {
            $view->messages = $flashMessenger->getMessages();
        }
        return $view;
    }
public function indexAction ( ) { $ view = new ViewModel ( ) ; $ service = $ this -> getThemeService ( ) ; $ view -> registeredThemes = $ service -> getRegisteredThemes ( ) ; $ view -> options = $ this -> getModuleOptions ( ) ; $ flashMessenger = $ this -> flashMessenger ( ) ; if ( $ flashMessenger -> hasMessages ( ) ) { $ view -> messages = $ flashMessenger -> getMessages ( ) ; } return $ view ; }
Show list of themes.

@return \Zend\View\Model\ViewModel
Show list of themes .