Lines Matching refs:location
549 $location = Registry::locationFactory()->make($xref, $tree);
550 $location = Auth::checkLocationAccess($location);
551 $name = $location->fullName();
561 'record' => $location,
571 $location = Registry::locationFactory()->make($xref, $tree);
572 $location = Auth::checkLocationAccess($location);
574 $this->addLocationToCart($location);
576 return redirect($location->url());
810 protected function addLocationToCart(Location $location): void argument
815 $tree = $location->tree()->name();
816 $xref = $location->xref();
823 $this->addLocationLinksToCart($location);
824 $this->addMediaLinksToCart($location);
825 $this->addNoteLinksToCart($location);
826 $this->addSourceLinksToCart($location);
835 $location = Registry::locationFactory()->make($xref, $record->tree());
837 if ($location instanceof Location && $location->canShow()) {
838 $this->addLocationToCart($location);