helperData = $helperData; $this->_themeProvider = $_themeProvider; parent::__construct($context, $data); } /** * @return HelperData */ public function getHelper() { return $this->helperData; } /** * Get Current Theme Name Function * @return string */ public function getCurrentTheme() { $themeId = $this->helperData->getConfigValue(DesignInterface::XML_PATH_THEME_ID); /** @var $theme ThemeInterface */ $theme = $this->_themeProvider->getThemeById($themeId); return $theme->getCode(); } }