public function Js::getTheme in JS Callback Handler 8.3
Retrieves the currently set theme from the request.
Return value
string
The theme machine name.
File
- src/Js.php, line 491
Class
- Js
- JS Callback Handler service.
Namespace
Drupal\js
Code
public function getTheme() {
return $this->theme;
}