6 calls to Media::getSource() in Drupal 9
- Media::getName in core/
modules/ media/ src/ Entity/ Media.php - Gets the media item name.
- Media::getThumbnailUri in core/
modules/ media/ src/ Entity/ Media.php - Gets the URI for the thumbnail of a media item.
- Media::hasSourceFieldChanged in core/
modules/ media/ src/ Entity/ Media.php - Determines if the source field value has changed.
- Media::prepareSave in core/
modules/ media/ src/ Entity/ Media.php - Sets the media entity's field values from the source's metadata.
- Media::updateThumbnail in core/
modules/ media/ src/ Entity/ Media.php - Update the thumbnail for the media item.
- Media::validate in core/
modules/ media/ src/ Entity/ Media.php - Validates the currently set values.