You are here

public function RetinaCropImageEffect::getSummary in Retina Images 8

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

Return value

array A render array.

Overrides CropImageEffect::getSummary

File

src/Plugin/ImageEffect/RetinaCropImageEffect.php, line 38

Class

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

Namespace

Drupal\retina_images\Plugin\ImageEffect

Code

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