original_string: public function getThemeEnabled()
      {
          $plugins = $this->getLoadedPlugins();
  
          $theme = false;
          foreach ($plugins as $plugin) {
              /* @var $plugin Plugin */
              if ($plugin->isTheme()
                  && $this->isPluginActivated($plugin->getPluginName())
              ) {
                  if ($plugin->getPluginName() != self::DEFAULT_THEME) {
                      return $plugin; // enabled theme (not default)
                  }
                  $theme = $plugin; // default theme
              }
          }
          return $theme;
      }
code: public function getThemeEnabled()
      {
          $plugins = $this->getLoadedPlugins();
  
          $theme = false;
          foreach ($plugins as $plugin) {
              /* @var $plugin Plugin */
              if ($plugin->isTheme()
                  && $this->isPluginActivated($plugin->getPluginName())
              ) {
                  if ($plugin->getPluginName() != self::DEFAULT_THEME) {
                      return $plugin; // enabled theme (not default)
                  }
                  $theme = $plugin; // default theme
              }
          }
          return $theme;
      }
code_tokens: public function getThemeEnabled ( ) { $ plugins = $ this -> getLoadedPlugins ( ) ; $ theme = false ; foreach ( $ plugins as $ plugin ) { /* @var $plugin Plugin */ if ( $ plugin -> isTheme ( ) && $ this -> isPluginActivated ( $ plugin -> getPluginName ( ) ) ) { if ( $ plugin -> getPluginName ( ) != self :: DEFAULT_THEME ) { return $ plugin ; // enabled theme (not default) } $ theme = $ plugin ; // default theme } } return $ theme ; }
docstring: Returns the currently enabled theme.
  
  If no theme is enabled, the **Morpheus** plugin is returned (this is the base and default theme).
  
  @return Plugin
  @api
docstring_tokens: Returns the currently enabled theme .