Switch to Storage Object for images

This commit is contained in:
Dirk Koritnik 2021-03-18 16:39:04 +01:00 committed by Daniel Siepmann
parent cbbe56775e
commit 2450f5c6b7
2 changed files with 5 additions and 5 deletions

View file

@ -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)

View file

@ -240,7 +240,7 @@ return [
'config' => [
'type' => 'text',
'enableRichtext' => true,
'richtextConfiguration' => 'default',
'richtextConfiguration' => 'Default',
'fieldControl' => [
'fullScreenRichtext' => [
'disabled' => false,