You are here

public function OpacityImageEffect::getSummary in Image Effects 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/ImageEffect/OpacityImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\OpacityImageEffect::getSummary()
  2. 8 src/Plugin/ImageEffect/OpacityImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\OpacityImageEffect::getSummary()

Returns a render array summarizing the configuration of the image effect.

Return value

array A render array.

Overrides ImageEffectBase::getSummary

File

src/Plugin/ImageEffect/OpacityImageEffect.php, line 32

Class

OpacityImageEffect
Adjust image transparency.

Namespace

Drupal\image_effects\Plugin\ImageEffect

Code

public function getSummary() {
  return [
    '#theme' => 'image_effects_opacity_summary',
    '#data' => $this->configuration,
  ] + parent::getSummary();
}