You are here

public function PathProcessorLanguage::reset in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/HttpKernel/PathProcessorLanguage.php \Drupal\language\HttpKernel\PathProcessorLanguage::reset()
  2. 9 core/modules/language/src/HttpKernel/PathProcessorLanguage.php \Drupal\language\HttpKernel\PathProcessorLanguage::reset()

Resets the collected processors instances.

File

core/modules/language/src/HttpKernel/PathProcessorLanguage.php, line 168

Class

PathProcessorLanguage
Processes the inbound path using path alias lookups.

Namespace

Drupal\language\HttpKernel

Code

public function reset() {
  $this->processors = [];
}