public function CropEffect::getSummary in Crop API 8.2
Same name and namespace in other branches
- 8 src/Plugin/ImageEffect/CropEffect.php \Drupal\crop\Plugin\ImageEffect\CropEffect::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/ CropEffect.php, line 137
Class
- CropEffect
- Crops an image resource.
Namespace
Drupal\crop\Plugin\ImageEffectCode
public function getSummary() {
$summary = [
'#theme' => 'crop_crop_summary',
'#data' => $this->configuration,
];
$summary += parent::getSummary();
return $summary;
}