Overrides the content type of the data response, if needed.
Type: string
File
- drupal/core/modules/rest/lib/Drupal/rest/Plugin/views/display/RestExport.php, line 63
- Contains \Drupal\rest\Plugin\views\display\RestExport.
Class
- RestExport
- The plugin that handles Data response callbacks for REST resources.
Namespace
Drupal\rest\Plugin\views\display
Code
protected $contentType = 'json';