RestExport::$mimeType

Same name and namespace in other branches
  1. 11.x 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
  3. 8.9.x 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 75

Class

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

Namespace

Drupal\rest\Plugin\views\display

Code

protected $mimeType = 'application/json';

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