You are here

public function ShareEverywhereService::__construct in Share Everywhere 2.x

Same name and namespace in other branches
  1. 8 src/ShareEverywhereService.php \Drupal\share_everywhere\ShareEverywhereService::__construct()

Constructs an ShareEverywhereService object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Configuration Factory.

\Drupal\Core\Condition\ConditionManager $condition_manager: The condition manager.

File

src/ShareEverywhereService.php, line 38

Class

ShareEverywhereService
Defines a ShareEverywhereService service.

Namespace

Drupal\share_everywhere

Code

public function __construct(ConfigFactoryInterface $config_factory, ConditionManager $condition_manager) {
  $this->configFactory = $config_factory;
  $this->conditionManager = $condition_manager;
}