public function getTemplateContext() { return ['record' => $this, $this->contenttype['singular_slug'] => $this]; }