MigrateProcessInterface
interface MigrateProcessInterface implements PluginInspectionInterface (View source)
An interface for migrate process plugins.
Migrate process plugins transform the input value.For example, transform a human provided name into a machine name, look up an identifier in a previous migration and so on.
Methods
array
getPluginDefinition()
Gets the definition of the plugin implementation.
mixed
transform(mixed $value, MigrateExecutableInterface $migrate_executable, Row $row, string $destination_property)
Performs the associated process.
bool
multiple()
Indicates whether the returned value requires multiple handling.
Details
string
getPluginId()
Gets the plugin_id of the plugin instance.
array
getPluginDefinition()
Gets the definition of the plugin implementation.
mixed
transform(mixed $value, MigrateExecutableInterface $migrate_executable, Row $row, string $destination_property)
Performs the associated process.
bool
multiple()
Indicates whether the returned value requires multiple handling.