You are here

public function RetinaScaleAndCropImageEffect::getSummary in Retina Images 8

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

Return value

array A render array.

Overrides ScaleAndCropImageEffect::getSummary

File

src/Plugin/ImageEffect/RetinaScaleAndCropImageEffect.php, line 35

Class

RetinaScaleAndCropImageEffect
Class RetinaScaleAndCropImageEffect @package Drupal\retina_images\Plugin\ImageEffect

Namespace

Drupal\retina_images\Plugin\ImageEffect

Code

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