'service-list']; protected function getItemClass(): string { switch ($this->getViewMode()) { case 'minimal': return ServiceListItemMinimal::class; case 'detailed': return ServiceListItemDetailed::class; case 'objectHeader': return ServiceDetailHeader::class; default: return ServiceListItem::class; } } protected function init() { $this->setMultiselectUrl(Links::servicesDetails()); $this->setDetailUrl(Url::fromPath('icingadb/service')); } }