public function ImageStyleQualityImageEffect::getSummary in Image Style Quality 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/ ImageStyleQualityImageEffect.php, line 72
Class
- ImageStyleQualityImageEffect
- Allows you to change the quality of an image, per image style.
Namespace
Drupal\image_style_quality\Plugin\ImageEffectCode
public function getSummary() {
return [
'#markup' => $this
->t('(@quality% Quality)', [
'@quality' => $this->configuration['quality'],
]),
];
}