AssetControllerBase::$contentType

Same name and namespace in other branches
  1. 10 core/modules/system/src/Controller/AssetControllerBase.php \Drupal\system\Controller\AssetControllerBase::contentType

The asset aggregate content type to send as Content-Type header.

Type: string

File

core/modules/system/src/Controller/AssetControllerBase.php, line 50

Class

AssetControllerBase
Defines a controller to serve asset aggregates.

Namespace

Drupal\system\Controller

Code

protected string $contentType;

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