Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

allowed_type_mime()

Description

Convert the permitted resource type extension to MIME type. Used by upload_batch.php

Parameters

ColumnTypeDefaultDescription
$allowedtype
$extension string File extension

Return

string MIME type e.g. image/jpeg

This article was last updated 19th March 2024 03:05 Europe/London time based on the source file dated 11th March 2024 11:40 Europe/London time.