You are here

public function JanrainMarkupBuilder::__construct in Janrain Registration 8

JanrainMarkupBuilder constructor.

Parameters

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

\Drupal\janrain_capture\ScreenLoaderManager $screen_loader_manager: Config factory.

File

src/JanrainMarkupBuilder.php, line 36

Class

JanrainMarkupBuilder
Builds needed markup for including Janrain functionality in HTML page.

Namespace

Drupal\janrain_capture

Code

public function __construct(ConfigFactoryInterface $config_factory, ScreenLoaderManager $screen_loader_manager) {
  $this->janrainCaptureSettings = $config_factory
    ->get('janrain_capture.settings');
  $this->screenLoaderManager = $screen_loader_manager;
}