You are here

function image_widget_crop_entity_update in Image Widget Crop 8

Same name and namespace in other branches
  1. 8.2 image_widget_crop.module \image_widget_crop_entity_update()

Implements hook_entity_update().

File

./image_widget_crop.module, line 187
Contains image_widget_crop.module.

Code

function image_widget_crop_entity_update(EntityInterface $entity) {
  \Drupal::service('image_widget_crop.manager')
    ->buildCropToEntity($entity);
}