Gets the mime type associated with the format.
@api
string $format The format:
string The associated mime type (null if not found)
public function getMimeType($format) {
if (null === static::$formats) {
static::initializeFormats();
}
return isset(static::$formats[$format]) ? static::$formats[$format][0] : null;
}