Skip to content

Commit

Permalink
Lynx request subscriber.
Browse files Browse the repository at this point in the history
  • Loading branch information
uttkarsh@axelerant.com committed Aug 11, 2021
1 parent d94e2d7 commit f6b4c63
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/EventSubscriber/LynxRequestSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ class LynxRequestSubscriber implements EventSubscriberInterface {
/**
* LynxRequestSubscriber constructor.
*
* @param \Drupal\vsite\Plugin\VsiteContextManager $vsiteContextManager
* VsiteContextManager instance.
* @param \Drupal\Core\Config\ConfigFactoryInterface $config
* ConfigFactoryInterface instance.
*/
public function __construct(VsiteContextManager $vsiteContextManager, ConfigFactoryInterface $config) {
public function __construct(ConfigFactoryInterface $config) {
$this->config = $config;
$this->lynxPath = $this->config->get('lynx.settings')->get('path');
$this->lynxDomain = $this->config->get('lynx.domain.settings')->get('lynx_domain');
Expand Down

0 comments on commit f6b4c63

Please sign in to comment.