src/Sulu/Component/Import/Import.php
protected function importProperty(
        PropertyInterface $property,
        NodeInterface $node,
        StructureInterface $structure,
        $value,
        $webspaceKey,
        $locale,
        $format
    ) {
        $contentType = $property->getContentTypeName();

        if (!$this->importManager->hasImport($contentType, $format)) {
            return;
        }

        $translateProperty = $this->legacyPropertyFactory->createTranslatedProperty($property, $locale, $structure);
        $this->importManager->import($contentType, $node, $translateProperty, $value, null, $webspaceKey, $locale);
    }
protected function importProperty(
        PropertyInterface $property,
        NodeInterface $node,
        StructureInterface $structure,
        $value,
        $webspaceKey,
        $locale,
        $format
    ) {
        $contentType = $property->getContentTypeName();

        if (!$this->importManager->hasImport($contentType, $format)) {
            return;
        }

        $translateProperty = $this->legacyPropertyFactory->createTranslatedProperty($property, $locale, $structure);
        $this->importManager->import($contentType, $node, $translateProperty, $value, null, $webspaceKey, $locale);
    }
protected function importProperty ( PropertyInterface $ property , NodeInterface $ node , StructureInterface $ structure , $ value , $ webspaceKey , $ locale , $ format ) { $ contentType = $ property -> getContentTypeName ( ) ; if ( ! $ this -> importManager -> hasImport ( $ contentType , $ format ) ) { return ; } $ translateProperty = $ this -> legacyPropertyFactory -> createTranslatedProperty ( $ property , $ locale , $ structure ) ; $ this -> importManager -> import ( $ contentType , $ node , $ translateProperty , $ value , null , $ webspaceKey , $ locale ) ; }
Prepare document-property and import them.

@param PropertyInterface $property
@param NodeInterface $node
@param StructureInterface $structure
@param string $value
@param string $webspaceKey
@param string $locale
@param string $format
Prepare document - property and import them .