Lines Matching refs:record
66 $record = Registry::sourceFactory()->make($xref, $tree);
67 $record = Auth::checkSourceAccess($record, false);
70 if ($record->xref() !== $xref || Registry::slugFactory()->make($record) !== $slug) {
71 return redirect($record->url(), StatusCodeInterface::STATUS_MOVED_PERMANENTLY);
74 $linked_locations = $this->linked_record_service->linkedLocations($record);
77 'clipboard_facts' => $this->clipboard_service->pastableFacts($record),
78 'linked_families' => $this->linked_record_service->linkedFamilies($record),
79 'linked_individuals' => $this->linked_record_service->linkedIndividuals($record),
81 'linked_media_objects' => $this->linked_record_service->linkedMedia($record),
82 'linked_notes' => $this->linked_record_service->linkedNotes($record),
88 'record' => $record,
89 'title' => $record->fullName(),
91 ])->withHeader('Link', '<' . $record->url() . '>; rel="canonical"');