public function AutoAspectEffect::getSummary in Auto image style 8
Returns a render array summarizing the configuration of the image effect.
Return value
array A render array.
Overrides ImageEffectBase::getSummary
File
- src/
Plugin/ ImageEffect/ AutoAspectEffect.php, line 90
Class
- AutoAspectEffect
- Resizes an image resource.
Namespace
Drupal\auto_image_style\Plugin\ImageEffectCode
public function getSummary() {
$summary = [
'#theme' => 'image_resize_summary',
'#data' => $this->configuration,
];
$summary += parent::getSummary();
return $summary;
}