public function ThemeCompilerTargetContext::getTargetId in Theme Compiler 8
Compute a hash of the target for canonical identification purposes.
Return value
string An identifier for the target of this context.
File
- src/
Plugin/ ThemeCompilerTargetContext.php, line 121
Class
- ThemeCompilerTargetContext
- The context used to define common interface parameters for a theme compiler.
Namespace
Drupal\theme_compiler\PluginCode
public function getTargetId() {
return hash('sha256', $this
->getTargetUri());
}