function image_module_test_image_style_presave in Drupal 9
Same name and namespace in other branches
- 8 core/modules/image/tests/modules/image_module_test/image_module_test.module \image_module_test_image_style_presave()
Implements hook_image_style_presave().
Used to save test third party settings in the image style entity.
File
- core/
modules/ image/ tests/ modules/ image_module_test/ image_module_test.module, line 38 - Provides Image module hook implementations for testing purposes.
Code
function image_module_test_image_style_presave(ImageStyleInterface $style) {
$style
->setThirdPartySetting('image_module_test', 'foo', 'bar');
}