getNoSubjectLink()) { return new HtmlElement( 'span', Attributes::create(['class' => 'subject']), Text::create($this->item->display_name) ); } else { return new Link($this->item->display_name, Links::host($this->item), ['class' => 'subject']); } } protected function init(): void { parent::init(); if ($this->list->getNoSubjectLink()) { $this->setNoSubjectLink(); } $this->list->addDetailFilterAttribute($this, Filter::equal('name', $this->item->name)) ->addMultiselectFilterAttribute($this, Filter::equal('host.name', $this->item->name)); } }