public function InstantArticleRssContentEntityNormalizer::__construct in Facebook Instant Articles 8.2
Same name and namespace in other branches
- 3.x 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\NormalizerCode
public function __construct(ConfigFactoryInterface $config) {
$this->config = $config
->get('fb_instant_articles.settings');
}