allow to disable user preferences by permission (#895)

This commit is contained in:
Kevin Papst
2019-07-01 19:37:20 +02:00
committed by GitHub
parent 94d68c8b64
commit 90980f40f5
10 changed files with 58 additions and 21 deletions

View File

@@ -22,4 +22,14 @@ class ThemeConfiguration implements SystemBundleConfiguration
{
return (string) $this->find('select_type');
}
public function getTitle(): ?string
{
$title = $this->find('branding.title');
if (null === $title) {
return null;
}
return (string) $title;
}
}