interface TypeProcessorInterface in Content Synchronizer 8.2
Same name and namespace in other branches
- 8 src/Processors/Type/TypeProcessorInterface.php \Drupal\content_synchronizer\Processors\Type\TypeProcessorInterface
- 3.x src/Processors/Type/TypeProcessorInterface.php \Drupal\content_synchronizer\Processors\Type\TypeProcessorInterface
The type processor interface.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\content_synchronizer\Processors\Type\TypeProcessorInterface
Expanded class hierarchy of TypeProcessorInterface
All classes that implement TypeProcessorInterface
File
- src/
Processors/ Type/ TypeProcessorInterface.php, line 12
Namespace
Drupal\content_synchronizer\Processors\TypeView source
interface TypeProcessorInterface extends PluginInspectionInterface {
/**
* Get the data to export.
*
* @param \Drupal\Core\TypedData\TypedData $propertyData
* The property data to export.
*
* @return array
* The field data to export.
*/
public function getExportedData(TypedData $propertyData);
/**
* Init the $propertyId value in the entity to import.
*
* @param \Drupal\Core\Entity\EntityInterface $entityToImport
* The entity to import.
* @param string $propertyId
* THe property id.
* @param array $data
* The data to import.
*/
public function initImportedEntity(EntityInterface $entityToImport, $propertyId, array $data);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
TypeProcessorInterface:: |
public | function | Get the data to export. | 1 |
TypeProcessorInterface:: |
public | function | Init the $propertyId value in the entity to import. | 1 |