You are here

public function StateLogger::__construct in Preview Link 2.x

Same name and namespace in other branches
  1. 2.0.x tests/modules/preview_link_test/src/StateLogger.php \Drupal\preview_link_test\StateLogger::__construct()

StateLogger constructor.

File

tests/modules/preview_link_test/src/StateLogger.php, line 29

Class

StateLogger
Sends logs to state.

Namespace

Drupal\preview_link_test

Code

public function __construct(StateInterface $state) {
  $this->state = $state;
}