function ImageStyleInterface::addImageEffect
Same name in other branches
- 9 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::addImageEffect()
- 8.9.x core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::addImageEffect()
- 11.x core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::addImageEffect()
Saves an image effect for this style.
Parameters
array $configuration: An array of image effect configuration.
Return value
string The image effect ID.
1 method overrides ImageStyleInterface::addImageEffect()
- ImageStyle::addImageEffect in core/
modules/ image/ src/ Entity/ ImageStyle.php - Saves an image effect for this style.
File
-
core/
modules/ image/ src/ ImageStyleInterface.php, line 170
Class
- ImageStyleInterface
- Provides an interface defining an image style entity.
Namespace
Drupal\imageCode
public function addImageEffect(array $configuration);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.