function avatars_entity_update in Avatar Kit 8.2
Same name and namespace in other branches
- 8 avatars.module \avatars_entity_update()
Implements hook_entity_update().
File
- ./
avatars.module, line 38 - Contains hooks for Avatar Kit.
Code
function avatars_entity_update(EntityInterface $entity) : void {
/** @var $hookService \Drupal\avatars\AvatarKitEntityHooksInterface */
$hookService = \Drupal::service('avatars.hooks');
$hookService
->update($entity);
}