/**
* Shopware\EventListener: Enlight_Controller_Front_RouteShutdown
*/
public function registerBackendTheme(Enlight_Controller_EventArgs
$args) { if ($args->
getRequest()->
getModuleName() !== 'backend'
) { return;
} $directory =
$this->container->
get(\Shopware\Components\Theme\PathResolver::
class)->
getExtJsThemeDirectory();
$this->container->
get('template'
)->
setTemplateDir([ 'backend' =>
$directory,
'include_dir' => '.',
]);
}}