interface FlushSingleImageInterface in Flush Single Image Styles 8
Interface FlushSingleImageInterface.
Hierarchy
- interface \Drupal\flush_single_image\FlushSingleImageInterface
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_imageView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FlushSingleImageInterface:: |
public | function | Flush a single image from all styles that may have a version of it. | 1 |
FlushSingleImageInterface:: |
public | function | The the image styles currently cached for given image path. | 1 |