public function WSDecoderXML::accepts in Web Service Data 8
Same name and namespace in other branches
- 2.0.x src/Plugin/WSDecoder/WSDecoderXML.php \Drupal\wsdata\Plugin\WSDecoder\WSDecoderXML::accepts()
Returns an array of the content type of the data this processor accepts.
Overrides WSDecoderBase::accepts
File
- src/
Plugin/ WSDecoder/ WSDecoderXML.php, line 48
Class
- WSDecoderXML
- XML Decoder.
Namespace
Drupal\wsdata\Plugin\WSDecoderCode
public function accepts() {
return [
'text/xml',
];
}