'to_format' =>
$to_format,
'source' => 'value2',
];
} } $migration->
expects($this->
once()) ->
method('mergeProcessOfProperty'
) ->
with('field_date',
$pipeline) ->
willReturn($migration);
$plugin =
new DateField([], '',
[]);
$plugin->
defineValueProcessPipeline($migration, 'field_date',
$data);
} /**
* Provides data for testDefineValueProcessPipeline().
*/
public function providerTestDefineValueProcessPipeline() { return [ [['type' => 'date'
], 'Y-m-d\TH:i:s', 'Y-m-d\TH:i:s'
],
[['type' => 'datestamp'
], 'U', 'U'
],
[['type' => 'datetime'
], 'Y-m-d H:i:s', 'Y-m-d\TH:i:s'
],
[ [