mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #32517 from nextcloud/bugfix/noid/make-appname-accessible
Make appName of TemplateResponse accessible in BeforeTemplateRendered…
This commit is contained in:
commit
1629b55f51
1 changed files with 9 additions and 0 deletions
|
|
@ -138,6 +138,15 @@ class TemplateResponse extends Response {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return string the app id of the used template
|
||||
* @since 25.0.0
|
||||
*/
|
||||
public function getApp(): string {
|
||||
return $this->appName;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Used for accessing the name of the set template
|
||||
* @return string the name of the used template
|
||||
|
|
|
|||
Loading…
Reference in a new issue