You are here

public function BrightnessImageEffect::getSummary in Image Effects 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/ImageEffect/BrightnessImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\BrightnessImageEffect::getSummary()
  2. 8.2 src/Plugin/ImageEffect/BrightnessImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\BrightnessImageEffect::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/BrightnessImageEffect.php, line 33

Class

BrightnessImageEffect
Adjust image brightness.

Namespace

Drupal\image_effects\Plugin\ImageEffect

Code

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