public function ApiSettingsForm::__construct in Facebook Instant Articles 3.x
Same name and namespace in other branches
- 8.2 src/Form/ApiSettingsForm.php \Drupal\fb_instant_articles\Form\ApiSettingsForm::__construct()
Constructs a \Drupal\fb_instant_articles\ApiSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Symfony\Component\HttpFoundation\Request $current_request: Current request object.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ApiSettingsForm.php, line 35
Class
- ApiSettingsForm
- Facebook Instant Articles API form.
Namespace
Drupal\fb_instant_articles\FormCode
public function __construct(ConfigFactoryInterface $config_factory, Request $current_request) {
parent::__construct($config_factory);
$this->currentRequest = $current_request;
}