public function AdvanceResizeImageEffect::getSummary in image effect 8
Same name and namespace in other branches
- 2.0.x src/Plugin/ImageEffect/AdvanceResizeImageEffect.php \Drupal\image_effect\Plugin\ImageEffect\AdvanceResizeImageEffect::getSummary()
- 1.0.x src/Plugin/ImageEffect/AdvanceResizeImageEffect.php \Drupal\image_effect\Plugin\ImageEffect\AdvanceResizeImageEffect::getSummary()
Returns a render array summarizing the configuration of the image effect.
Return value
array A render array.
Overrides ImageEffectBase::getSummary
File
- src/
Plugin/ ImageEffect/ AdvanceResizeImageEffect.php, line 44
Class
- AdvanceResizeImageEffect
- Resizes an image resource in advance.
Namespace
Drupal\image_effect\Plugin\ImageEffectCode
public function getSummary() {
$summary = [
'#theme' => 'image_resize_summary',
'#data' => $this->configuration,
];
$summary += parent::getSummary();
return $summary;
}