Commit 691957f7 authored by Steven Jones's avatar Steven Jones Committed by Steven Jones
Browse files

Issue #2832999 by Steven Jones: Alter config schema for image styles

parent d57a0fae
......@@ -48,6 +48,15 @@ function imageapi_optimize_entity_type_alter(array &$entity_types) {
}
}
/**
* Implements hook_config_schema_info_alter().
*/
function imageapi_optimize_config_schema_info_alter(&$definitions) {
if (isset($definitions['image.style.*'])) {
$definitions['image.style.*']['mapping']['pipeline']['type'] = 'string';
}
}
/**
* Implements hook_form_FORM_ID_alter().
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment