Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment