You are here

public function RestfulFormatterInterface::getContentTypeHeader in RESTful 7

Returns the content type for the selected output format.

Return value

string The contents for the ContentType header in the response.

1 method overrides RestfulFormatterInterface::getContentTypeHeader()
RestfulFormatterBase::getContentTypeHeader in plugins/formatter/RestfulFormatterBase.php
Returns the content type for the selected output format.

File

plugins/formatter/RestfulFormatterInterface.php, line 53
Contains RestfulFormatterInterface.

Class

RestfulFormatterInterface
@file Contains RestfulFormatterInterface.

Code

public function getContentTypeHeader();