You are here

public function MimeMapManager::listExtensions in Sophron 8

Gets the list of file extensions.

Return value

string[] A simple array of file extension strings.

Overrides MimeMapManagerInterface::listExtensions

File

src/MimeMapManager.php, line 168

Class

MimeMapManager
Provides a sensible mapping between filename extensions and MIME types.

Namespace

Drupal\sophron

Code

public function listExtensions() {
  return MapHandler::map($this
    ->getMapClass())
    ->listExtensions();
}