You are here

public function FocusScaleCropImageEffect::getSummary in Image Focus Crop 8

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

Return value

array A render array.

Overrides ResizeImageEffect::getSummary

File

src/Plugin/ImageEffect/FocusScaleCropImageEffect.php, line 123

Class

FocusScaleCropImageEffect
Crops with focus an image resource.

Namespace

Drupal\image_focus\Plugin\ImageEffect

Code

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