protected function ImageStyle::fileDefaultScheme in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::fileDefaultScheme()
- 9 core/modules/image/src/Entity/ImageStyle.php \Drupal\image\Entity\ImageStyle::fileDefaultScheme()
Provides a wrapper to allow unit testing.
Gets the default file stream implementation.
Return value
string 'public', 'private' or any other file scheme defined as the default.
1 call to ImageStyle::fileDefaultScheme()
- ImageStyle::buildUri in core/
modules/ image/ src/ Entity/ ImageStyle.php - Returns the URI of this image when using this style.
File
- core/
modules/ image/ src/ Entity/ ImageStyle.php, line 521
Class
- ImageStyle
- Defines an image style configuration entity.
Namespace
Drupal\image\EntityCode
protected function fileDefaultScheme() {
return \Drupal::config('system.file')
->get('default_scheme');
}