public function ImageAPIOptimizeHookImplementations::config_schema_info_alter in Image Optimize (or ImageAPI Optimize) 4.x
Same name and namespace in other branches
- 8.3 src/ImageAPIOptimizeHookImplementations.php \Drupal\imageapi_optimize\ImageAPIOptimizeHookImplementations::config_schema_info_alter()
- 8.2 src/ImageAPIOptimizeHookImplementations.php \Drupal\imageapi_optimize\ImageAPIOptimizeHookImplementations::config_schema_info_alter()
Implements hook_config_schema_info_alter().
File
- src/
ImageAPIOptimizeHookImplementations.php, line 59
Class
- ImageAPIOptimizeHookImplementations
- Hook implementations for the Image Optimize module.
Namespace
Drupal\imageapi_optimizeCode
public function config_schema_info_alter(&$definitions) {
if (isset($definitions['image.style.*'])) {
$definitions['image.style.*']['mapping']['pipeline']['type'] = 'string';
}
}