You are here

function svg_image_field_widget_info_alter in Svg Image 2.x

Same name and namespace in other branches
  1. 8 svg_image.module \svg_image_field_widget_info_alter()
  2. 1.x svg_image.module \svg_image_field_widget_info_alter()

Implements hook_field_widget_info_alter().

File

./svg_image.module, line 16
Contains main functions and hooks for svg_image module.

Code

function svg_image_field_widget_info_alter(array &$info) {
  $info['image_image']['class'] = SvgImageWidget::class;
}