You are here

public function OAuthKey::__construct in Lightning API 8

Same name and namespace in other branches
  1. 8.4 src/OAuthKey.php \Drupal\lightning_api\OAuthKey::__construct()
  2. 8.2 src/OAuthKey.php \Drupal\lightning_api\OAuthKey::__construct()
  3. 8.3 src/OAuthKey.php \Drupal\lightning_api\OAuthKey::__construct()

OAuthKey constructor.

Parameters

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

\Drupal\Core\File\FileSystemInterface $file_system: The file system service.

File

src/OAuthKey.php, line 33

Class

OAuthKey

Namespace

Drupal\lightning_api

Code

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