function lightning_media_field_widget_settings_summary_alter in Lightning Media 8.4
Same name and namespace in other branches
- 8 lightning_media.module \lightning_media_field_widget_settings_summary_alter()
- 8.2 lightning_media.module \lightning_media_field_widget_settings_summary_alter()
- 8.3 lightning_media.module \lightning_media_field_widget_settings_summary_alter()
Implements hook_field_widget_settings_summary_alter().
File
- ./
lightning_media.module, line 53 - Core media asset support for Lightning.
Code
function lightning_media_field_widget_settings_summary_alter(array &$summary, array $context) {
if ($context['widget'] instanceof ImageWidget) {
ImageWidgetHelper::summarize($context['widget'], $summary);
}
}