Neos.Media.Browser/Classes/Controller/AssetController.php
protected function initializeCreateAction(): void
    {
        $assetMappingConfiguration = $this->arguments->getArgument('asset')->getPropertyMappingConfiguration();
        $assetMappingConfiguration->allowProperties('title', 'resource', 'tags', 'assetCollections');
        $assetMappingConfiguration->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, true);
        $assetMappingConfiguration->setTypeConverterOption(AssetInterfaceConverter::class, AssetInterfaceConverter::CONFIGURATION_ONE_PER_RESOURCE, true);
    }
protected function initializeCreateAction(): void
    {
        $assetMappingConfiguration = $this->arguments->getArgument('asset')->getPropertyMappingConfiguration();
        $assetMappingConfiguration->allowProperties('title', 'resource', 'tags', 'assetCollections');
        $assetMappingConfiguration->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, true);
        $assetMappingConfiguration->setTypeConverterOption(AssetInterfaceConverter::class, AssetInterfaceConverter::CONFIGURATION_ONE_PER_RESOURCE, true);
    }
protected function initializeCreateAction ( ) : void { $ assetMappingConfiguration = $ this -> arguments -> getArgument ( 'asset' ) -> getPropertyMappingConfiguration ( ) ; $ assetMappingConfiguration -> allowProperties ( 'title' , 'resource' , 'tags' , 'assetCollections' ) ; $ assetMappingConfiguration -> setTypeConverterOption ( PersistentObjectConverter :: class , PersistentObjectConverter :: CONFIGURATION_CREATION_ALLOWED , true ) ; $ assetMappingConfiguration -> setTypeConverterOption ( AssetInterfaceConverter :: class , AssetInterfaceConverter :: CONFIGURATION_ONE_PER_RESOURCE , true ) ; }
Initialization for createAction

@return void
@throws NoSuchArgumentException
Initialization for createAction