function svg_image_field_formatter_info_alter in Svg Image 1.x
Same name and namespace in other branches
- 8 svg_image.module \svg_image_field_formatter_info_alter()
- 2.x svg_image.module \svg_image_field_formatter_info_alter()
Implements hook_field_formatter_info_alter().
File
- ./
svg_image.module, line 22 - Contains main functions and hooks for svg_image module.
Code
function svg_image_field_formatter_info_alter(array &$info) {
$info['image']['class'] = SvgImageFormatter::class;
}