public function ImageAPIOptimizeProcessorBase::getSummary in Image Optimize (or ImageAPI Optimize) 4.x
Same name and namespace in other branches
- 8.3 src/ImageAPIOptimizeProcessorBase.php \Drupal\imageapi_optimize\ImageAPIOptimizeProcessorBase::getSummary()
- 8.2 src/ImageAPIOptimizeProcessorBase.php \Drupal\imageapi_optimize\ImageAPIOptimizeProcessorBase::getSummary()
Returns a render array summarizing the configuration of the image optimize processor.
Return value
array A render array.
Overrides ImageAPIOptimizeProcessorInterface::getSummary
File
- src/
ImageAPIOptimizeProcessorBase.php, line 78
Class
- ImageAPIOptimizeProcessorBase
- Provides a base class for image optimize processors.
Namespace
Drupal\imageapi_optimizeCode
public function getSummary() {
return [
'#markup' => '',
'#processor' => [
'id' => $this->pluginDefinition['id'],
'label' => $this
->label(),
'description' => $this->pluginDefinition['description'],
],
];
}