You are here

interface RequestAlteringInterface in Persistent URL 8

This is used to signify that a method plugin would want to modify the request, which requires re-initializing the request object.

Method plugins that does not need to modify the request object do not need to implement this, and the request will not be re-initialized for the particular plugin.

Hierarchy

Expanded class hierarchy of RequestAlteringInterface

All classes that implement RequestAlteringInterface

2 files declare their use of RequestAlteringInterface
RebuildIndex.php in src/Event/RebuildIndex.php
RequestSubscriber.php in src/Event/RequestSubscriber.php

File

src/Plugin/Purl/Method/RequestAlteringInterface.php, line 17

Namespace

Drupal\purl\Plugin\Purl\Method
View source
interface RequestAlteringInterface {
  public function alterRequest(Request $request, $identifier);

}

Members