public function ImagePaddingEffect::getSummary in Image effect kit 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/ ImagePaddingEffect.php, line 57 - Contains \Drupal\iek\Plugin\ImageEffect\ImagePaddingEffect.
Class
- ImagePaddingEffect
- IEK - Padding.
Namespace
Drupal\iek\Plugin\ImageEffectCode
public function getSummary() {
$data = $this->configuration;
$summary = [
'#theme' => 'iek_image_padding_summary',
'#data' => $data,
];
$summary += parent::getSummary();
return $summary;
}