You are here

protected function HomeboxSettingsForm::getThemeName in Homebox 8

Gets the name of the theme used for this block listing.

Return value

string The name of the theme.

1 call to HomeboxSettingsForm::getThemeName()
HomeboxSettingsForm::buildBlocksForm in src/Form/HomeboxSettingsForm.php
Build block edit form.

File

src/Form/HomeboxSettingsForm.php, line 529

Class

HomeboxSettingsForm
Class HomeboxForm.

Namespace

Drupal\homebox\Form

Code

protected function getThemeName() {

  // If no theme was specified, use the current theme.
  if (!$this->theme) {
    $this->theme = $this->themeManager
      ->getActiveTheme()
      ->getName();
  }
  return $this->theme;
}