public ImageStyleInterface::getEffect($effect)
Returns a specific image effect.
Parameters
string $effect: The image effect ID.
Return value
\Drupal\image\ImageEffectInterface The image effect object.
File
- core/modules/image/src/ImageStyleInterface.php, line 166
Class
- ImageStyleInterface
- Provides an interface defining an image style entity.
Namespace
Drupal\image
Code
public function getEffect($effect);
Please login to continue.