public function ImageStyleInterface::getEffect in Drupal 8
Same name and namespace in other branches
- 9 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::getEffect()
- 10 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::getEffect()
Returns a specific image effect.
Parameters
string $effect: The image effect ID.
Return value
\Drupal\image\ImageEffectInterface The image effect object.
1 method overrides ImageStyleInterface::getEffect()
- ImageStyle::getEffect in core/
modules/ image/ src/ Entity/ ImageStyle.php - Returns a specific image effect.
File
- core/
modules/ image/ src/ ImageStyleInterface.php, line 165
Class
- ImageStyleInterface
- Provides an interface defining an image style entity.
Namespace
Drupal\imageCode
public function getEffect($effect);