public function MediaInterface::automaticallySetThumbnail in Media entity 8
Automatically determines the most appropriate thumbnail and sets "thumbnail" field.
1 method overrides MediaInterface::automaticallySetThumbnail()
- Media::automaticallySetThumbnail in src/
Entity/ Media.php - Automatically determines the most appropriate thumbnail and sets "thumbnail" field.
File
- src/
MediaInterface.php, line 98
Class
- MediaInterface
- Provides an interface defining a media entity.
Namespace
Drupal\media_entityCode
public function automaticallySetThumbnail();