Neos\Flow\Mvc\Controller\MvcPropertyMappingConfiguration::allowModificationForSubProperty PHP Méthode

allowModificationForSubProperty() public méthode

Allow modification for a given property path
public allowModificationForSubProperty ( string $propertyPath ) : MvcPropertyMappingConfiguration
$propertyPath string
Résultat MvcPropertyMappingConfiguration this
    public function allowModificationForSubProperty($propertyPath)
    {
        $this->forProperty($propertyPath)->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_MODIFICATION_ALLOWED, true);
        return $this;
    }