You are here

public function AdvanceResizeImageEffect::getSummary in image effect 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/ImageEffect/AdvanceResizeImageEffect.php \Drupal\image_effect\Plugin\ImageEffect\AdvanceResizeImageEffect::getSummary()
  2. 1.0.x src/Plugin/ImageEffect/AdvanceResizeImageEffect.php \Drupal\image_effect\Plugin\ImageEffect\AdvanceResizeImageEffect::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/AdvanceResizeImageEffect.php, line 44

Class

AdvanceResizeImageEffect
Resizes an image resource in advance.

Namespace

Drupal\image_effect\Plugin\ImageEffect

Code

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