public function RestExport::getContentType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/rest/src/Plugin/views/display/RestExport.php \Drupal\rest\Plugin\views\display\RestExport::getContentType()
Gets the content type.
Return value
string The content type machine name. E.g. 'json'.
File
- core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php, line 203 - Contains \Drupal\rest\Plugin\views\display\RestExport.
Class
- RestExport
- The plugin that handles Data response callbacks for REST resources.
Namespace
Drupal\rest\Plugin\views\displayCode
public function getContentType() {
return $this->contentType;
}