Skip to content

Commit

Permalink
Merge branch '2.5' of https://github.com/sulu/SuluArticleBundle into 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jun 7, 2024
2 parents 040e51a + c47fc34 commit 6608b76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Document/MediaViewObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ class MediaViewObject
*/
protected $formats = '{}';

/**
* @var string|null
*
* @Property(type="keyword")
*/
public $mimeType;

/**
* @var string
*
Expand All @@ -67,6 +74,7 @@ public function setData(Media $media)
$this->id = $media->getId();
$this->title = $media->getTitle();
$this->setFormats($media->getFormats());
$this->mimeType = $media->getMimeType();
$this->url = $media->getUrl();
$this->copyright = $media->getCopyright();

Expand Down

0 comments on commit 6608b76

Please sign in to comment.