function BrokenInboundPathProcessor::__construct

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()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.