*/
protected $name;
+ /**
+ * The path to the logo.
+ *
+ * @var string
+ */
+ protected $logo;
+
/**
* The path to the theme.
*
*/
protected $librariesOverride;
+ /**
+ * The list of libraries-extend definitions.
+ *
+ * @var array
+ */
+ protected $librariesExtend;
+
/**
* Constructs an ActiveTheme object.
*
'path' => '',
'engine' => 'twig',
'owner' => 'twig',
+ 'logo' => '',
'stylesheets_remove' => [],
'libraries' => [],
'extension' => 'html.twig',
];
$this->name = $values['name'];
+ $this->logo = $values['logo'];
$this->path = $values['path'];
$this->engine = $values['engine'];
$this->owner = $values['owner'];
return $this->baseThemes;
}
+ /**
+ * Returns the logo provided by the theme.
+ *
+ * @return string
+ * The logo path.
+ */
+ public function getLogo() {
+ return $this->logo;
+ }
+
/**
* The regions used by the theme.
*