public function ApiController::__construct in Facebook Instant Articles 8.2
Same name and namespace in other branches
- 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\ControllerCode
public function __construct(ConfigFactoryInterface $config_factory) {
$this->configFactory = $config_factory;
}