You are here

public function ImageAPIOptimizeHookImplementations::config_schema_info_alter in Image Optimize (or ImageAPI Optimize) 8.3

Same name and namespace in other branches
  1. 8.2 src/ImageAPIOptimizeHookImplementations.php \Drupal\imageapi_optimize\ImageAPIOptimizeHookImplementations::config_schema_info_alter()
  2. 4.x 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_optimize

Code

public function config_schema_info_alter(&$definitions) {
  if (isset($definitions['image.style.*'])) {
    $definitions['image.style.*']['mapping']['pipeline']['type'] = 'string';
  }
}