You are here

TinyPngImageHandlerInterface.php in TinyPNG 8

Namespace

Drupal\tinypng

File

src/TinyPngImageHandlerInterface.php
View source
<?php

namespace Drupal\tinypng;

use Drupal\Core\Entity\EntityInterface;

/**
 * Interface TinyPngImageHandlerInterface.
 *
 * @package Drupal\tinypng
 */
interface TinyPngImageHandlerInterface {

  /**
   * Implements hook_entity_presave().
   *
   * Process the image with TinyPNG service.
   */
  public function hookEntityPresave(EntityInterface $entity);

}

Interfaces

Namesort descending Description
TinyPngImageHandlerInterface Interface TinyPngImageHandlerInterface.