You are here

public function TimeMachine::__construct in Preview Link 8

TimeMachine constructor.

Parameters

\Drupal\Core\State\StateInterface $state: State.

File

tests/modules/preview_link_test/src/TimeMachine.php, line 26

Class

TimeMachine
Service used to simulate time.

Namespace

Drupal\preview_link_test

Code

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