public function ThemeCompilerTargetContext::getTargetUri in Theme Compiler 8
Get the Uniform Resource Identifier path for this context's theme target.
This method builds the target URI using the theme URI prefix and the theme-relative file system path used to represent the compiler target.
Return value
string The Uniform Resource Identifier path for this context's theme target.
1 call to ThemeCompilerTargetContext::getTargetUri()
- ThemeCompilerTargetContext::getTargetId in src/
Plugin/ ThemeCompilerTargetContext.php - Compute a hash of the target for canonical identification purposes.
File
- src/
Plugin/ ThemeCompilerTargetContext.php, line 134
Class
- ThemeCompilerTargetContext
- The context used to define common interface parameters for a theme compiler.
Namespace
Drupal\theme_compiler\PluginCode
public function getTargetUri() {
return $this
->getThemeUriPrefix() . '/' . $this->target;
}