You are here

public function ImageAPIOptimizeProcessorBase::getConfiguration in Image Optimize (or ImageAPI Optimize) 8.3

Same name and namespace in other branches
  1. 8.2 src/ImageAPIOptimizeProcessorBase.php \Drupal\imageapi_optimize\ImageAPIOptimizeProcessorBase::getConfiguration()
  2. 4.x src/ImageAPIOptimizeProcessorBase.php \Drupal\imageapi_optimize\ImageAPIOptimizeProcessorBase::getConfiguration()

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

File

src/ImageAPIOptimizeProcessorBase.php, line 121

Class

ImageAPIOptimizeProcessorBase
Provides a base class for image optimize processors.

Namespace

Drupal\imageapi_optimize

Code

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