mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 07:36:11 +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
|
* images
|
||||||
*
|
*
|
||||||
* @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
|
* @var ObjectStorage<FileReference>
|
||||||
* @Extbase\ORM\Cascade remove
|
* @Extbase\ORM\Cascade remove
|
||||||
*/
|
*/
|
||||||
protected $images = null;
|
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;
|
return $this->images;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param FileReference $images
|
* @param ObjectStorage<FileReference> $images
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function setImages(FileReference $images)
|
public function setImages(FileReference $images)
|
||||||
|
|
|
@ -240,7 +240,7 @@ return [
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'enableRichtext' => true,
|
'enableRichtext' => true,
|
||||||
'richtextConfiguration' => 'default',
|
'richtextConfiguration' => 'Default',
|
||||||
'fieldControl' => [
|
'fieldControl' => [
|
||||||
'fullScreenRichtext' => [
|
'fullScreenRichtext' => [
|
||||||
'disabled' => false,
|
'disabled' => false,
|
||||||
|
|
Loading…
Reference in a new issue