function HtmxRequestInfoTrait::getRequest
Gets the request object.
Return value
\Symfony\Component\HttpFoundation\Request The request object.
2 methods override HtmxRequestInfoTrait::getRequest()
- FormBase::getRequest in core/
lib/ Drupal/ Core/ Form/ FormBase.php - Gets the request object.
- HtmxRequestInfoTest::getRequest in core/
tests/ Drupal/ Tests/ Core/ Htmx/ HtmxRequestInfoTest.php - Gets the request object.
File
-
core/
lib/ Drupal/ Core/ Htmx/ HtmxRequestInfoTrait.php, line 18
Class
- HtmxRequestInfoTrait
- Provides methods for getting information about the HTMX request.
Namespace
Drupal\Core\HtmxCode
abstract protected function getRequest();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.