loaded materials form solr with jsonapi, and display them

This commit is contained in:
2019-06-10 18:30:48 +02:00
parent 058aed796a
commit 01cee3ba8a
19 changed files with 719 additions and 17 deletions

View File

@@ -102,9 +102,11 @@ class Base extends ControllerBase {
$items = [];
foreach ($this->results as $result) {
$nid = $result->getField('nid')->getValues()[0];
$uuid = $result->getField('uuid')->getValues()[0];
$title = $result->getField('title')->getValues()[0]->getText();
$items[] = [
'nid' => $nid,
'uuid' => $uuid,
'title' => $title,
];
}