function ImageStyleInterface::getEffect

Same name in other branches
  1. 8.9.x core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::getEffect()
  2. 10 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::getEffect()
  3. 11.x 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 151

Class

ImageStyleInterface
Provides an interface defining an image style entity.

Namespace

Drupal\image

Code

public function getEffect($effect);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.