Skip to content
Snippets Groups Projects
Commit 32661b49 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2508037 by hussainweb, catch, Crell: Clarify PathProcessor path format

parent f154a0e0
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,7 @@ interface InboundPathProcessorInterface {
* Processes the inbound path.
*
* @param string $path
* The path to process, with a starting slash.
*
* The path to process, with a leading slash.
* @param \Symfony\Component\HttpFoundation\Request $request
* The HttpRequest object representing the current request.
*
......
......@@ -19,7 +19,7 @@ interface OutboundPathProcessorInterface {
* Processes the outbound path.
*
* @param string $path
* The path to process.
* The path to process, with a leading slash.
* @param array $options
* An array of options such as would be passed to the generator's
* generateFromPath() method.
......@@ -28,7 +28,7 @@ interface OutboundPathProcessorInterface {
* @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata
* (optional) Object to collect path processors' bubbleable metadata.
*
* @return
* @return string
* The processed path.
*/
public function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment