function ImageEffectBase::getConfiguration

Same name in other branches
  1. 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getConfiguration()
  2. 8.9.x core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getConfiguration()
  3. 11.x core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getConfiguration()

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

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