AvifImageEffect
1 unresolved thread
1 unresolved thread
Closes #3510582
Merge request reports
Activity
added 47 commits
-
a5025da8...93ec7a93 - 43 commits from branch
project:11.x
- 58c2054b - AvifImageEffect
- 604b81ef - phpcs
- 32d769f8 - Strict types
- d39a3879 - Test coverage
Toggle commit list-
a5025da8...93ec7a93 - 43 commits from branch
253 253 * IMAGETYPE_* constant (e.g. IMAGETYPE_JPEG, IMAGETYPE_PNG, etc.). 254 254 */ 255 255 protected static function supportedTypes() { 256 return [IMAGETYPE_PNG, IMAGETYPE_JPEG, IMAGETYPE_GIF]; 256 $types = [IMAGETYPE_PNG, IMAGETYPE_JPEG, IMAGETYPE_GIF]; 257 if (\Drupal::state()->get('image_test.avif_enabled', FALSE)) { Minor but important - this should use raw key/value rather than state. See https://www.drupal.org/project/drupal/issues/3506148
changed this line in version 5 of the diff
Please register or sign in to reply