You are here

public function ImageStyleInterface::addImageEffect in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageStyleInterface.php \Drupal\image\ImageStyleInterface::addImageEffect()
  2. 9 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\image

Code

public function addImageEffect(array $configuration);