function public function Theme::__toString

8.x-3.x Theme.php public Theme::__toString()

Returns the theme machine name.

Return value

string Theme machine name.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Source src/Theme.php (line 234)

public function __toString() {
  return $this->getName();
}