Пример #1
0
 /**
  * Helper function which returns the theme information of the
  * passed theme.
  * Used to update the Shopware\Models\Shop\Template entity with
  * the theme data.
  *
  * @param Theme $theme
  * @return array
  */
 private function getThemeDefinition(Theme $theme)
 {
     return array('template' => $theme->getTemplate(), 'name' => $theme->getName(), 'author' => $theme->getAuthor(), 'license' => $theme->getLicense(), 'description' => $theme->getDescription(), 'version' => 3, 'esi' => true, 'style' => true, 'emotion' => true);
 }