You are here

public function Theme::getInfo in Express 8

Retrieves the theme info.

Parameters

string $property: A specific property entry from the theme's info array to return.

Return value

array The entire theme info or a specific item if $property was passed.

1 call to Theme::getInfo()
Theme::getTitle in themes/contrib/bootstrap/src/Theme.php
Retrieves the human-readable title of the theme.

File

themes/contrib/bootstrap/src/Theme.php, line 410
Contains \Drupal\bootstrap.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Code

public function getInfo($property = NULL) {
  if (isset($property)) {
    return isset($this->info[$property]) ? $this->info[$property] : NULL;
  }
  return $this->info;
}