You are here

public function RetinaScaleImageEffect::getSummary in Retina Images 8

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

Return value

array A render array.

Overrides ScaleImageEffect::getSummary

File

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

Class

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

Namespace

Drupal\retina_images\Plugin\ImageEffect

Code

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