public function ContrastImageEffect::getSummary in Image Effects 8
Same name and namespace in other branches
- 8.3 src/Plugin/ImageEffect/ContrastImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\ContrastImageEffect::getSummary()
- 8.2 src/Plugin/ImageEffect/ContrastImageEffect.php \Drupal\image_effects\Plugin\ImageEffect\ContrastImageEffect::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/ ContrastImageEffect.php, line 33
Class
- ContrastImageEffect
- Adjust image contrast.
Namespace
Drupal\image_effects\Plugin\ImageEffectCode
public function getSummary() {
return [
'#theme' => 'image_effects_contrast_summary',
'#data' => $this->configuration,
] + parent::getSummary();
}