public function ImageThumbnail::defaultConfiguration in Entity Browser 8
Same name and namespace in other branches
- 8.2 src/Plugin/EntityBrowser/FieldWidgetDisplay/ImageThumbnail.php \Drupal\entity_browser\Plugin\EntityBrowser\FieldWidgetDisplay\ImageThumbnail::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides FieldWidgetDisplayBase::defaultConfiguration
File
- src/
Plugin/ EntityBrowser/ FieldWidgetDisplay/ ImageThumbnail.php, line 104
Class
- ImageThumbnail
- Displays image thumbnail.
Namespace
Drupal\entity_browser\Plugin\EntityBrowser\FieldWidgetDisplayCode
public function defaultConfiguration() {
return [
'image_style' => 'thumbnail',
] + parent::defaultConfiguration();
}