You are here

public function ImageEffectBase::getConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 ConfigurablePluginInterface::getConfiguration

File

core/modules/image/src/ImageEffectBase.php, line 135
Contains \Drupal\image\ImageEffectBase.

Class

ImageEffectBase
Provides a base class for image effects.

Namespace

Drupal\image

Code

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