You are here

function flipping_book_flipping_book_delete in Flipping Book 8

Implements hook_flipping_book_delete().

File

./flipping_book.module, line 66
Contains flipping_book.module..

Code

function flipping_book_flipping_book_delete(EntityInterface $entity) {
  $flipping_book = \Drupal::service('flipping_book');
  $flipping_book
    ->deleteArchive($entity);
}