Skip to content
Snippets Groups Projects

Issue #3260342: Config schema for effects are missing

Closed Dezső Biczó requested to merge issue/imagick-3260342:3260342-config-schema-for into 8.x-1.x
1 file
+ 14
0
Compare changes
  • Side-by-side
  • Inline
+ 14
0
<?php
/**
* Implements hook_config_schema_info_alter().
*/
function imagick_config_schema_info_alter(&$definitions) {
$definitions['image.effect.image_convert']['mapping']['format'] = [
'type' => 'string',
'label' => 'Image format',
];
$definitions['image.effect.image_convert']['mapping']['quality'] = [
'type' => 'integer',
'label' => 'Image quality',
];
}
Loading