You are here

public function ThemeCompilerTargetContext::getTheme in Theme Compiler 8

Get the theme for this context.

Return value

string The machine name of the theme to which this context belongs.

File

src/Plugin/ThemeCompilerTargetContext.php, line 88

Class

ThemeCompilerTargetContext
The context used to define common interface parameters for a theme compiler.

Namespace

Drupal\theme_compiler\Plugin

Code

public function getTheme() {
  return $this->theme;
}