function ImageStyleInterface::flush
Same name in other branches
- 9 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::flush()
- 8.9.x core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::flush()
- 10 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::flush()
Flushes cached media for this style.
Parameters
string $path: (optional) The original image path or URI. If it's supplied, only this image derivative will be flushed.
Return value
$this
1 method overrides ImageStyleInterface::flush()
- ImageStyle::flush in core/
modules/ image/ src/ Entity/ ImageStyle.php
File
-
core/
modules/ image/ src/ ImageStyleInterface.php, line 87
Class
- ImageStyleInterface
- Provides an interface defining an image style entity.
Namespace
Drupal\imageCode
public function flush($path = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.