mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-25 00:56:10 +01:00
Switch to Storage Object for images
This commit is contained in:
parent
cbbe56775e
commit
2450f5c6b7
2 changed files with 5 additions and 5 deletions
|
@ -174,7 +174,7 @@ class Event extends AbstractEntity
|
|||
/**
|
||||
* images
|
||||
*
|
||||
* @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
|
||||
* @var ObjectStorage<FileReference>
|
||||
* @Extbase\ORM\Cascade remove
|
||||
*/
|
||||
protected $images = null;
|
||||
|
@ -578,15 +578,15 @@ class Event extends AbstractEntity
|
|||
}
|
||||
|
||||
/**
|
||||
* @return FileReference $images
|
||||
* @return ObjectStorage<FileReference> $images
|
||||
*/
|
||||
public function getImages()
|
||||
public function getImages(): ObjectStorage
|
||||
{
|
||||
return $this->images;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FileReference $images
|
||||
* @param ObjectStorage<FileReference> $images
|
||||
* @return void
|
||||
*/
|
||||
public function setImages(FileReference $images)
|
||||
|
|
|
@ -240,7 +240,7 @@ return [
|
|||
'config' => [
|
||||
'type' => 'text',
|
||||
'enableRichtext' => true,
|
||||
'richtextConfiguration' => 'default',
|
||||
'richtextConfiguration' => 'Default',
|
||||
'fieldControl' => [
|
||||
'fullScreenRichtext' => [
|
||||
'disabled' => false,
|
||||
|
|
Loading…
Reference in a new issue