Implements hook_config_import_create().
function image_config_import_create($name, $new_config, $old_config) {
// Only image styles require custom handling. Any other module settings can be
// synchronized directly.
if (strpos($name, 'image.style.') !== 0) {
return FALSE;
}
$style = entity_create('image_style', $new_config
->get());
$style
->save();
return TRUE;
}