You are here

interface FlushSingleImageInterface in Flush Single Image Styles 8

Interface FlushSingleImageInterface.

Hierarchy

Expanded class hierarchy of FlushSingleImageInterface

All classes that implement FlushSingleImageInterface

1 file declares its use of FlushSingleImageInterface
FlushSingleImageForm.php in src/Form/FlushSingleImageForm.php

File

src/FlushSingleImageInterface.php, line 8

Namespace

Drupal\flush_single_image
View source
interface FlushSingleImageInterface {

  /**
   * Flush a single image from all styles that may have a version of it.
   *
   * @param string $path
   *   The filename to flush from all styles. This can be a relative path which
   *   will be givent the default stream wrapper scheme or you can include the
   *   full URI (with stream wrapper).
   *   Examples: public://path/to/file.jpg, private://path/to/file.jpg etc...
   */
  public function flush($path);

  /**
   * The the image styles currently cached for given image path.
   *
   * @param string $path
   *   The filename to flush from all styles. This can be a relative path which
   *   will be givent the default stream wrapper scheme or you can include the
   *   full URI (with stream wrapper).
   *   Examples: public://path/to/file.jpg, private://path/to/file.jpg etc...
   */
  public function getStylePaths($path);

}

Members

Namesort descending Modifiers Type Description Overrides
FlushSingleImageInterface::flush public function Flush a single image from all styles that may have a version of it. 1
FlushSingleImageInterface::getStylePaths public function The the image styles currently cached for given image path. 1