You are here

protected property RestExport::$mimeType in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/rest/src/Plugin/views/display/RestExport.php \Drupal\rest\Plugin\views\display\RestExport::mimeType
  2. 9 core/modules/rest/src/Plugin/views/display/RestExport.php \Drupal\rest\Plugin\views\display\RestExport::mimeType

The mime type for the response.

Type: string

File

core/modules/rest/src/Plugin/views/display/RestExport.php, line 73

Class

RestExport
The plugin that handles Data response callbacks for REST resources.

Namespace

Drupal\rest\Plugin\views\display

Code

protected $mimeType = 'application/json';