Loading core/modules/image/src/Plugin/migrate/process/d6/ImageCacheActions.php +3 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ public function transform($value, MigrateExecutableInterface $migrate_executable $effects = []; foreach ($row->getSourceProperty('actions') as $action) { if (empty($action['action'])) { continue; } $id = preg_replace('/^imagecache/', 'image', $action['action']); if ($id === 'image_crop') { Loading core/modules/migrate_drupal/tests/fixtures/drupal6.php +8 −0 Original line number Diff line number Diff line Loading @@ -10645,6 +10645,14 @@ 'action' => 'imagecache_rotate', 'data' => 'a:3:{s:7:"degrees";s:2:"55";s:6:"random";i:0;s:7:"bgcolor";s:0:"";}', )) ->values(array( 'actionid' => '7', 'presetid' => '2', 'weight' => '0', 'module' => 'imagecache', 'action' => '', 'data' => 'a:3:{s:7:"degrees";s:2:"55";s:6:"random";i:0;s:7:"bgcolor";s:0:"";}', )) ->execute(); $connection->schema()->createTable('imagecache_preset', array( 'fields' => array( Loading
core/modules/image/src/Plugin/migrate/process/d6/ImageCacheActions.php +3 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ public function transform($value, MigrateExecutableInterface $migrate_executable $effects = []; foreach ($row->getSourceProperty('actions') as $action) { if (empty($action['action'])) { continue; } $id = preg_replace('/^imagecache/', 'image', $action['action']); if ($id === 'image_crop') { Loading
core/modules/migrate_drupal/tests/fixtures/drupal6.php +8 −0 Original line number Diff line number Diff line Loading @@ -10645,6 +10645,14 @@ 'action' => 'imagecache_rotate', 'data' => 'a:3:{s:7:"degrees";s:2:"55";s:6:"random";i:0;s:7:"bgcolor";s:0:"";}', )) ->values(array( 'actionid' => '7', 'presetid' => '2', 'weight' => '0', 'module' => 'imagecache', 'action' => '', 'data' => 'a:3:{s:7:"degrees";s:2:"55";s:6:"random";i:0;s:7:"bgcolor";s:0:"";}', )) ->execute(); $connection->schema()->createTable('imagecache_preset', array( 'fields' => array(