You are here

public function ImageEffectBase::getConfiguration in Drupal 8

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::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,
  ];
}