You are here

public function ImageEffectBase::getConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getConfiguration()
  2. 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getConfiguration()

File

core/modules/image/src/ImageEffectBase.php, line 130

Class

ImageEffectBase
Provides a base class for image effects.

Namespace

Drupal\image

Code

public function getConfiguration() {
  return [
    'uuid' => $this
      ->getUuid(),
    'id' => $this
      ->getPluginId(),
    'weight' => $this
      ->getWeight(),
    'data' => $this->configuration,
  ];
}