add element descriptions
This commit is contained in:
parent
f2dc1483dd
commit
72e4720787
10 changed files with 47 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ class ElementController
|
|||
$childElements[] = [
|
||||
'id' => $childElement->getId(),
|
||||
'title' => $childElement->getTitle(),
|
||||
'description' => $childElement->getDescription(),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
@ -44,6 +45,7 @@ class ElementController
|
|||
'element' => [
|
||||
'id' => $element->getId(),
|
||||
'title' => $element->getTitle(),
|
||||
'description' => $element->getDescription(),
|
||||
],
|
||||
], 200);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue