You are here

public function BackgroundImageEffect::getSummary in Image Effects 8

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

Class

BackgroundImageEffect
Class BackgroundImageEffect.

Namespace

Drupal\image_effects\Plugin\ImageEffect

Code

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