'host-list']; protected function getItemClass(): string { switch ($this->getViewMode()) { case 'minimal': return HostListItemMinimal::class; case 'detailed': return HostListItemDetailed::class; case 'objectHeader': return HostDetailHeader::class; default: return HostListItem::class; } } protected function init() { $this->setMultiselectUrl(Links::hostsDetails()); $this->setDetailUrl(Url::fromPath('icingadb/host')); } }