imageapi_optimize_webp.module in ImageAPI Optimize WebP 8
Same filename and directory in other branches
File
imageapi_optimize_webp.moduleView source
<?php
/**
* Implements hook_entity_type_alter().
*/
function imageapi_optimize_webp_entity_type_alter(array &$entity_types) {
if (isset($entity_types['imageapi_optimize_pipeline'])) {
$entity_types['imageapi_optimize_pipeline']
->setClass('Drupal\\imageapi_optimize_webp\\Entity\\ImageAPIOptimizeWebPPipeline');
}
return [];
}
Functions
Name | Description |
---|---|
imageapi_optimize_webp_entity_type_alter | Implements hook_entity_type_alter(). |