function MimeTypeMapInterface::listExtensions

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/File/MimeType/MimeTypeMapInterface.php \Drupal\Core\File\MimeType\MimeTypeMapInterface::listExtensions()

Returns known file extensions.

Return value

string[] An array of file extensions.

File

core/lib/Drupal/Core/File/MimeType/MimeTypeMapInterface.php, line 62

Class

MimeTypeMapInterface
Provides an interface for MIME type to file extension mapping.

Namespace

Drupal\Core\File\MimeType

Code

public function listExtensions() : array;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.