Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
imageapi_optimize-3226168
Commits
691957f7
Commit
691957f7
authored
Dec 06, 2016
by
Steven Jones
Committed by
Steven Jones
Dec 06, 2016
Browse files
Issue
#2832999
by Steven Jones: Alter config schema for image styles
parent
d57a0fae
Changes
1
Hide whitespace changes
Inline
Side-by-side
imageapi_optimize.module
View file @
691957f7
...
...
@@ -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().
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment