projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
PathProcessor
/
InboundPathProcessorInterface.php
diff --git
a/web/core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php
b/web/core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php
index ed9d187524fee21541538e228c240d95e132da2b..c859359612efc361a38924419a5047584dd76dc7 100644
(file)
--- a/
web/core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php
+++ b/
web/core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php
@@
-12,10
+12,17
@@
interface InboundPathProcessorInterface {
/**
* Processes the inbound path.
*
/**
* Processes the inbound path.
*
+ * Implementations may make changes to the request object passed in but should
+ * avoid all other side effects. This method can be called to process requests
+ * other than the current request.
+ *
* @param string $path
* The path to process, with a leading slash.
* @param \Symfony\Component\HttpFoundation\Request $request
* @param string $path
* The path to process, with a leading slash.
* @param \Symfony\Component\HttpFoundation\Request $request
- * The HttpRequest object representing the current request.
+ * The HttpRequest object representing the request to process. Note, if this
+ * method is being called via the path_processor_manager service and is not
+ * part of routing, the current request object must be cloned before being
+ * passed in.
*
* @return string
* The processed path.
*
* @return string
* The processed path.