You are here

public function ContentHubCdfEncoder::supportsEncoding in Acquia Content Hub 8

File

src/Encoder/ContentHubCdfEncoder.php, line 25

Class

ContentHubCdfEncoder
Encodes Content Hub CDF data in JSON.

Namespace

Drupal\acquia_contenthub\Encoder

Code

public function supportsEncoding($format) {
  return $format == $this->format;
}