You are here

public function AutomatedCropEffect::getSummary in Automated Crop 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/AutomatedCropEffect.php, line 98

Class

AutomatedCropEffect
Provide an Automatic crop tools.

Namespace

Drupal\automated_crop\Plugin\ImageEffect

Code

public function getSummary() {
  $summary = [
    '#theme' => 'automated_crop_summary',
    '#data' => $this->configuration,
  ];
  $summary += parent::getSummary();
  return $summary;
}