public function StateLogger::__construct in Preview Link 2.0.x
Same name and namespace in other branches
- 2.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_testCode
public function __construct(StateInterface $state) {
$this->state = $state;
}