function public function Theme::getInfo

8.x-3.x Theme.php public Theme::getInfo($property = NULL)

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.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Source src/Theme.php (line 462)

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