You are here

public function ConvolveImageEffect::getSummary in Imagick 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/ConvolveImageEffect.php, line 38

Class

ConvolveImageEffect
Applies the convolve effect on an image resource.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function getSummary() {
  $summary = parent::getSummary();
  $summary['#markup'] = '- ' . $this->configuration['label'];
  return $summary;
}