function image_module_test_image_style_presave
Same name and namespace in other branches
- 9 core/modules/image/tests/modules/image_module_test/image_module_test.module \image_module_test_image_style_presave()
- 8.9.x core/modules/image/tests/modules/image_module_test/image_module_test.module \image_module_test_image_style_presave()
- 11.x 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
Code
function image_module_test_image_style_presave(ImageStyleInterface $style) {
$style->setThirdPartySetting('image_module_test', 'foo', 'bar');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.