You are here

public function BrokenInboundPathProcessor::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/update_script_test/src/PathProcessor/BrokenInboundPathProcessor.php \Drupal\update_script_test\PathProcessor\BrokenInboundPathProcessor::__construct()
  2. 10 core/modules/system/tests/modules/update_script_test/src/PathProcessor/BrokenInboundPathProcessor.php \Drupal\update_script_test\PathProcessor\BrokenInboundPathProcessor::__construct()

Constructs a new BrokenInboundPathProcessor instance.

Parameters

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

File

core/modules/system/tests/modules/update_script_test/src/PathProcessor/BrokenInboundPathProcessor.php, line 27

Class

BrokenInboundPathProcessor
Example path processor which breaks on inbound.

Namespace

Drupal\update_script_test\PathProcessor

Code

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