You are here

public function InstantArticleEncoder::supportsEncoding in Facebook Instant Articles 8.2

Same name and namespace in other branches
  1. 3.x src/Encoder/InstantArticleEncoder.php \Drupal\fb_instant_articles\Encoder\InstantArticleEncoder::supportsEncoding()

File

src/Encoder/InstantArticleEncoder.php, line 25

Class

InstantArticleEncoder
Facebook Instant Article encoder class.

Namespace

Drupal\fb_instant_articles\Encoder

Code

public function supportsEncoding($format) {
  return $format === static::$format;
}