You are here

public function ResizeImageEffect::getSummary in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php \Drupal\image\Plugin\ImageEffect\ResizeImageEffect::getSummary()
  2. 9 core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php \Drupal\image\Plugin\ImageEffect\ResizeImageEffect::getSummary()

File

core/modules/image/src/Plugin/ImageEffect/ResizeImageEffect.php, line 43

Class

ResizeImageEffect
Resizes an image resource.

Namespace

Drupal\image\Plugin\ImageEffect

Code

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