summaryrefslogtreecommitdiffstats
path: root/lib/Settings/Section.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Settings/Section.php')
-rw-r--r--lib/Settings/Section.php18
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/Settings/Section.php b/lib/Settings/Section.php
index dd0f1ff0c..e1dc90147 100644
--- a/lib/Settings/Section.php
+++ b/lib/Settings/Section.php
@@ -6,28 +6,34 @@ use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Settings\IIconSection;
-class Section implements IIconSection {
+class Section implements IIconSection
+{
private $l;
private $url;
- public function __construct(IURLGenerator $url, IL10N $l) {
+ public function __construct(IURLGenerator $url, IL10N $l)
+ {
$this->url = $url;
$this->l = $l;
}
- public function getID() {
+ public function getID()
+ {
return 'news';
}
- public function getName() {
+ public function getName()
+ {
return $this->l->t('News');
}
- public function getPriority() {
+ public function getPriority()
+ {
return 10;
}
- public function getIcon() {
+ public function getIcon()
+ {
return $this->url->imagePath('news', 'app-dark.svg');
}
} \ No newline at end of file