add element youtube url
This commit is contained in:
parent
f9c4d72e60
commit
ff58f23bb7
10 changed files with 27 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ class EloquentElementRepository implements ElementRepository
|
|||
'description' => $dto->description,
|
||||
'rich_text' => $dto->richText,
|
||||
'pdf_path' => $dto->pdfPath,
|
||||
'youtube_url' => $dto->youtubeUrl,
|
||||
'parent_element_id' => $dto->parentElement?->getId(),
|
||||
]);
|
||||
|
||||
|
|
@ -29,6 +30,7 @@ class EloquentElementRepository implements ElementRepository
|
|||
description: $dto->description,
|
||||
richText: $dto->richText,
|
||||
pdfPath: $dto->pdfPath,
|
||||
youtubeUrl: $dto->youtubeUrl,
|
||||
set: $dto->set,
|
||||
parentElement: $dto->parentElement,
|
||||
);
|
||||
|
|
@ -111,6 +113,7 @@ class EloquentElementRepository implements ElementRepository
|
|||
description: $model->description,
|
||||
richText: $model->rich_text,
|
||||
pdfPath: $model->pdf_path,
|
||||
youtubeUrl: $model->youtube_url,
|
||||
set: $set,
|
||||
parentElement: $parentElement,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue