public function FillPdfLinkManipulator::parseRequest in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 src/Service/FillPdfLinkManipulator.php \Drupal\fillpdf\Service\FillPdfLinkManipulator::parseRequest()
@todo: Maybe this should return a FillPdfLinkContext object or something? Guess it depends on how much I end up needing to change it.
Overrides FillPdfLinkManipulatorInterface::parseRequest
File
- src/
Service/ FillPdfLinkManipulator.php, line 22
Class
Namespace
Drupal\fillpdf\ServiceCode
public function parseRequest(Request $request) {
// @todo: Use Url::fromRequest when/if it lands in core. See https://www.drupal.org/node/2605530
$path = $request
->getUri();
$request_url = $this
->createUrlFromString($path);
return $this
->parseLink($request_url);
}