urlGenerator = $urlGenerator; $this->l = $l; } /** * returns the relative path to an 16*16 icon describing the section. * * @return string */ public function getIcon(): string { return $this->urlGenerator->imagePath('epubreader', 'app.svg'); } /** * returns the ID of the section. It is supposed to be a lower case string, * * @return string */ public function getID(): string { return 'epubreader'; } /** * returns the translated name as it should be displayed * * @return string */ public function getName(): string { return $this->l->t('EPUB/CBZ/PDF ebook reader'); } /** * returns priority for positioning * * @return int */ public function getPriority(): int { return 20; } }