public function ImageSelectionImageEffect::getSummary in Image Effects 8
Same name and namespace in other branches
- 8.3 tests/modules/image_effects_module_test/src/Plugin/ImageEffect/ImageSelectionImageEffect.php \Drupal\image_effects_module_test\Plugin\ImageEffect\ImageSelectionImageEffect::getSummary()
- 8.2 tests/modules/image_effects_module_test/src/Plugin/ImageEffect/ImageSelectionImageEffect.php \Drupal\image_effects_module_test\Plugin\ImageEffect\ImageSelectionImageEffect::getSummary()
Returns a render array summarizing the configuration of the image effect.
Return value
array A render array.
Overrides ImageEffectBase::getSummary
File
- tests/
modules/ image_effects_module_test/ src/ Plugin/ ImageEffect/ ImageSelectionImageEffect.php, line 63
Class
- ImageSelectionImageEffect
- Test effect that uses the image selector plugin to get an image.
Namespace
Drupal\image_effects_module_test\Plugin\ImageEffectCode
public function getSummary() {
return [
'#markup' => $this->configuration['image_uri'],
] + parent::getSummary();
}