You are here

11 string references to file.mime_type.guesser in Drupal 9

File::preCreate in core/modules/file/src/Entity/File.php
Changes the values of an entity before it is created.
FileUploadResource::create in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
Creates an instance of the plugin.
ImageItem::generateSampleValue in core/modules/image/src/Plugin/Field/FieldType/ImageItem.php
Generates placeholder field values.
MimeTypeGuesser::registerWithSymfonyGuesser in core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php
A helper function to register with Symfony's singleton MIME type guesser.
MimeTypeGuesserTest::testSymfonyGuesserRegistration in core/tests/Drupal/Tests/Core/File/MimeTypeGuesserTest.php
@covers ::registerWithSymfonyGuesser
MimeTypePass::process in core/lib/Drupal/Core/DependencyInjection/Compiler/MimeTypePass.php
MimeTypePassTest::testProcessLegacy in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/MimeTypePassTest.php
Tests backwards compatibility shim for MimeTypeGuesser interface changes.
MimeTypeTest::testFileMimeTypeDetection in core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
Tests mapping of mimetypes from filenames.
MimeTypeTest::testFileMimeTypeDetectionDeprecation in core/tests/Drupal/KernelTests/Core/File/MimeTypeTest.php
Test deprecations.
ThemeSettingsForm::create in core/modules/system/src/Form/ThemeSettingsForm.php
Instantiates a new instance of this class.
_file_save_upload_single in core/modules/file/file.module
Saves a file upload to a new location.