You are here

public function Asset::getMimeType in Mini site 8

Get asset MIME type.

Return value

string Asset MIME type.

Overrides AssetInterface::getMimeType

2 calls to Asset::getMimeType()
Asset::getHeaders in src/Asset.php
Array of headers for current asset.
Asset::save in src/Asset.php
Save asset to the database.

File

src/Asset.php, line 414

Class

Asset
Class Asset.

Namespace

Drupal\minisite

Code

public function getMimeType() {
  return $this->mimeType;
}