public ExtensionMimeTypeGuesser::__construct(ModuleHandlerInterface $module_handler)
Constructs a new ExtensionMimeTypeGuesser.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
- core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php, line 882
Class
- ExtensionMimeTypeGuesser
- Makes possible to guess the MIME type of a file using its extension.
Namespace
Drupal\Core\File\MimeType
Code
public function __construct(ModuleHandlerInterface $module_handler) { $this->moduleHandler = $module_handler; }
Please login to continue.