Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Theme/ActiveTheme.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Theme/ActiveTheme.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/lib/Drupal/Core/Theme/ActiveTheme.php Thu Feb 28 13:21:36 2019 +0000 @@ -20,6 +20,13 @@ protected $name; /** + * The path to the logo. + * + * @var string + */ + protected $logo; + + /** * The path to the theme. * * @var string @@ -83,6 +90,13 @@ protected $librariesOverride; /** + * The list of libraries-extend definitions. + * + * @var array + */ + protected $librariesExtend; + + /** * Constructs an ActiveTheme object. * * @param array $values @@ -93,6 +107,7 @@ 'path' => '', 'engine' => 'twig', 'owner' => 'twig', + 'logo' => '', 'stylesheets_remove' => [], 'libraries' => [], 'extension' => 'html.twig', @@ -103,6 +118,7 @@ ]; $this->name = $values['name']; + $this->logo = $values['logo']; $this->path = $values['path']; $this->engine = $values['engine']; $this->owner = $values['owner']; @@ -197,6 +213,16 @@ } /** + * Returns the logo provided by the theme. + * + * @return string + * The logo path. + */ + public function getLogo() { + return $this->logo; + } + + /** * The regions used by the theme. * * @return string[]