You are here

public function ApiController::__construct in Facebook Instant Articles 8.2

Same name and namespace in other branches
  1. 3.x src/Controller/ApiController.php \Drupal\fb_instant_articles\Controller\ApiController::__construct()

Creates a new \Drupal\fb_instant_articles\Controller\ApiController.

Parameters

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

File

src/Controller/ApiController.php, line 32

Class

ApiController
Controller to handle Facebook login callback.

Namespace

Drupal\fb_instant_articles\Controller

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->configFactory = $config_factory;
}