private function populateItemFromRecord(array $item, $path)
    {
        /** @var \Bolt\Legacy\Storage $engine */
        $engine = $this->app[$this->storageAccessor];
        $content = $engine->getContent($path, ['hydrate' => false]);

        if ($content) {
            if (empty($item['label'])) {
                $item['label'] = !empty($content->values['title']) ? $content->values['title'] : '';
            }

            if (empty($item['title'])) {
                $item['title'] = !empty($content->values['subtitle']) ? $content->values['subtitle'] : '';
            }

            $item['link'] = $content->link();
        }

        return $item;
    }