protected function getTheme($theme) { if ($theme === false || isset($theme['theme']) && $theme['theme'] === '') { return $this->getPath('theme', 'theme/base-2016'); } else { return $this->getPath('theme', $theme['theme']); } }