7 calls to Media::getSource() in Drupal 10
- Media::getDefaultThumbnailUri in core/
modules/ media/ src/ Entity/ Media.php - Returns the URI of the default thumbnail.
- 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.