Created
November 22, 2012 11:01
-
-
Save svparijs/4130571 to your computer and use it in GitHub Desktop.
Relation set between Organisation and Alias in OneToMany
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($this->arguments->hasArgument('organisation')) { | |
$propertyMappingConfigurationForOrganisation = $this->arguments->getArgument('organisation')->getPropertyMappingConfiguration(); | |
$propertyMappingConfigurationForOrganisation | |
->forProperty('aliases.*') | |
->setTypeConverterOption( | |
'TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter', | |
\TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, | |
TRUE | |
); | |
$propertyMappingConfigurationForOrganisation | |
->forProperty('aliases.*') | |
->setTypeConverterOption( | |
'TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter', | |
\TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter::CONFIGURATION_MODIFICATION_ALLOWED, | |
TRUE | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment