You are here

public function ConvertImageEffect::getSummary in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php \Drupal\image\Plugin\ImageEffect\ConvertImageEffect::getSummary()

Returns a render array summarizing the configuration of the image effect.

Return value

array A render array.

Overrides ImageEffectBase::getSummary

File

core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php, line 47
Contains \Drupal\image\Plugin\ImageEffect\ConvertImageEffect.

Class

ConvertImageEffect
Converts an image resource.

Namespace

Drupal\image\Plugin\ImageEffect

Code

public function getSummary() {
  $summary = array(
    '#markup' => Unicode::strtoupper($this->configuration['extension']),
  );
  $summary += parent::getSummary();
  return $summary;
}