function image_widget_crop_entity_extra_field_info in Image Widget Crop 8
Same name and namespace in other branches
- 8.2 image_widget_crop.module \image_widget_crop_entity_extra_field_info()
Implements hook_entity_extra_field_info().
File
- ./
image_widget_crop.module, line 167 - Contains image_widget_crop.module.
Code
function image_widget_crop_entity_extra_field_info() {
$return = [];
$return['file']['image']['form']['crop_preview_wrapper'] = [
'label' => t('Crop image'),
'weight' => 10,
];
return $return;
}