You are here

public function TinyPngImageHandlerInterface::hookEntityPresave in TinyPNG 8

Implements hook_entity_presave().

Process the image with TinyPNG service.

1 method overrides TinyPngImageHandlerInterface::hookEntityPresave()
TinyPngImageHandler::hookEntityPresave in src/TinyPngImageHandler.php
Implements hook_entity_presave().

File

src/TinyPngImageHandlerInterface.php, line 19

Class

TinyPngImageHandlerInterface
Interface TinyPngImageHandlerInterface.

Namespace

Drupal\tinypng

Code

public function hookEntityPresave(EntityInterface $entity);