You are here

public function InstantArticleRssContentEntityNormalizer::__construct in Facebook Instant Articles 3.x

Same name and namespace in other branches
  1. 8.2 src/Normalizer/InstantArticleRssContentEntityNormalizer.php \Drupal\fb_instant_articles\Normalizer\InstantArticleRssContentEntityNormalizer::__construct()

ContentEntityNormalizer constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config: Config factory service.

File

src/Normalizer/InstantArticleRssContentEntityNormalizer.php, line 32

Class

InstantArticleRssContentEntityNormalizer
Extends the content entity normalizer that ships with the base module.

Namespace

Drupal\fb_instant_articles\Normalizer

Code

public function __construct(ConfigFactoryInterface $config) {
  $this->config = $config
    ->get('fb_instant_articles.settings');
}